add strip

This commit is contained in:
liheavy 2023-03-01 17:14:50 +08:00
parent 40c9ec4865
commit 52e7b722a7

View File

@ -14,7 +14,7 @@
Name: dsoftbus
Version: 1.0.0
Release: 7
Release: 8
Summary: openEuler embedded softbus capability support
License: Apache License 2.0
Url: https://openeuler.gitee.io/yocto-meta-openeuler/features/distributed_softbus.html
@ -194,6 +194,10 @@ ${dsoftbus_build_dir}/third_party/cJSON/*.h \
${dsoftbus_build_dir}/third_party/bounds_checking_function/include/*.h \
%{buildroot}/%{_includedir}/dsoftbus
# strip symbol table
find %{buildroot} -type f -name "*.so" -exec strip '{}' ';'
find %{buildroot} -type f -name "softbus_server_main" -exec strip '{}' ';'
%files
%{_includedir}/dsoftbus/*
%{_bindir}/softbus_server_main
@ -201,6 +205,9 @@ ${dsoftbus_build_dir}/third_party/bounds_checking_function/include/*.h \
/data/data
%changelog
* Wed Mar 1 2023 liheavy <lihaiwei8@huawei.com> - 1.0.0-8
- Add strip
* Wed Feb 8 2023 liheavy <lihaiwei8@huawei.com> - 1.0.0-7
- fix security huks discarded qualifiers error