diff --git a/distributed-utils.spec b/distributed-utils.spec index 2c2632e52269255a294ff8bf33daaa62fe44950d..0a474f01f922aed2f6d09109a90b491766dab4c4 100644 --- a/distributed-utils.spec +++ b/distributed-utils.spec @@ -23,7 +23,7 @@ Name: distributed-utils Version: 1.0.0 -Release: 3 +Release: 4 Summary: Distributed middleware used components. License: Apache-2.0 and MIT Url: https://gitee.com/openharmony/ @@ -170,8 +170,9 @@ done for a_file in $(find ./ -name *.a -type f) do cp ${a_file} %{buildroot}/system/lib64 - cp ${so_file} %{buildroot}/usr/lib64 + cp ${a_file} %{buildroot}/usr/lib64 done +rm -rf %{buildroot}/usr/lib64/libhilog_base.a popd # copy executable file. @@ -181,14 +182,16 @@ install -m 755 %{_builddir}/out/openeuler/packages/phone/system/bin/* %{buildroo # copy header files of component to includedir. pushd %{_builddir}/${header_out_path} find c_utils -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/c_utils +find %{c_utils_dir}/base/src -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/c_utils +sed -i 's/\"..\/src\/event_reactor.h\"//g' %{buildroot}%{_includedir}/c_utils/timer.h find config_policy -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/config_policy -find dsoftbus -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/dsoftbus +find %{dsoftbus_dir} -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/dsoftbus find eventhandler -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/eventhandler find init -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/init find ipc -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/ipc find safwk -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/safwk find samgr -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/samgr -find huks -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/huks +cp -rvf %{huks_dir}/interfaces/innerkits/huks_standard/main/include/*.h %{buildroot}%{_includedir}/huks find device_auth -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/device_auth find device_manager -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/device_manager find dataclassification -name *.h -print0 | xargs -0 -i cp -rvf {} %{buildroot}%{_includedir}/dataclassification @@ -208,9 +211,14 @@ cp -rvf single_include/nlohmann %{buildroot}/%{_includedir}/nlohmann_json/single /usr/bin/* %changelog +* Wed Jul 26 2023 Ge Wang - 1.0.0-4 +- add deficient component. + * Tue Jun 27 2023 Peng He - 1.0.0-3 - increase the softbus pthread stack size on x86 and other env. + * Sun Jun 25 2023 Peng He - 1.0.0-2 - add missed libs of device_manager. + * Tue Jun 20 2023 Peng He - 1.0.0-1 - add components used by distributed middleware.