!4 strip the libraries

From: @overweight 
Reviewed-by: @love_hangzhou 
Signed-off-by: @love_hangzhou
This commit is contained in:
openeuler-ci-bot 2022-08-22 13:14:40 +00:00 committed by Gitee
commit 32b270abc2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -9,7 +9,7 @@
Name: process1 Name: process1
Version: 0.2.0 Version: 0.2.0
Release: 1 Release: 2
Summary: redesign and reimplement process1. Summary: redesign and reimplement process1.
License: Mulan PSL v2 License: Mulan PSL v2
@ -59,6 +59,8 @@ install -Dm0755 -t %{process1_install_target} %{process1_install_source}/sysmoni
install -Dm0755 -t %{process1_install_target} %{process1_install_source}/random_seed install -Dm0755 -t %{process1_install_target} %{process1_install_source}/random_seed
install -Dm0755 -t %{process1_install_target} %{process1_install_source}/rc-local-generator install -Dm0755 -t %{process1_install_target} %{process1_install_source}/rc-local-generator
strip %{process1_install_source}/lib*.so
install -Dm0644 -t %{process1_install_target}/plugin %{process1_install_source}/libmount.so install -Dm0644 -t %{process1_install_target}/plugin %{process1_install_source}/libmount.so
install -Dm0644 -t %{process1_install_target}/plugin %{process1_install_source}/libservice.so install -Dm0644 -t %{process1_install_target}/plugin %{process1_install_source}/libservice.so
install -Dm0644 -t %{process1_install_target}/plugin %{process1_install_source}/libsocket.so install -Dm0644 -t %{process1_install_target}/plugin %{process1_install_source}/libsocket.so
@ -67,6 +69,9 @@ install -Dm0644 -t %{process1_install_target}/plugin config/plugin.conf
%changelog %changelog
* Mon Aug 22 2022 He Xiaowen <hexiaowen@huawei.com> - 0.2.0-2
- strip the libraries
* Mon Aug 22 2022 He Xiaowen <hexiaowen@huawei.com> - 0.2.0-1 * Mon Aug 22 2022 He Xiaowen <hexiaowen@huawei.com> - 0.2.0-1
- initial package - initial package