strip the libraries

This commit is contained in:
overweight 2022-08-22 20:41:26 +08:00
parent c94ac60aa7
commit b65afaf078

View File

@ -9,7 +9,7 @@
Name: process1
Version: 0.2.0
Release: 1
Release: 2
Summary: redesign and reimplement process1.
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}/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}/libservice.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
* 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
- initial package