From 52e7b722a7f585c5b3dba53685a1732ada125578 Mon Sep 17 00:00:00 2001 From: liheavy Date: Wed, 1 Mar 2023 17:14:50 +0800 Subject: [PATCH] add strip --- dsoftbus.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dsoftbus.spec b/dsoftbus.spec index c853138..de9674b 100644 --- a/dsoftbus.spec +++ b/dsoftbus.spec @@ -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 - 1.0.0-8 +- Add strip + * Wed Feb 8 2023 liheavy - 1.0.0-7 - fix security huks discarded qualifiers error -- Gitee