strip dynamic library

This commit is contained in:
zhangtao2020 2021-09-04 16:13:50 +08:00
parent d46e9195dd
commit 264def81ae

View File

@ -1,6 +1,6 @@
Name: poco Name: poco
Version: 1.10.1 Version: 1.10.1
Release: 1 Release: 2
Summary: This is ROS melodic ros_comm's 3rdparty poco Summary: This is ROS melodic ros_comm's 3rdparty poco
License: GPL License: GPL
URL: https://github.com/pocoproject/poco/releases/tag/poco-1.10.1-release URL: https://github.com/pocoproject/poco/releases/tag/poco-1.10.1-release
@ -28,10 +28,14 @@ cd ..
mkdir -p %{buildroot}/usr/local/ mkdir -p %{buildroot}/usr/local/
cp -r install/* %{buildroot}/usr/local/ cp -r install/* %{buildroot}/usr/local/
find %{buildroot} -type f -name '*.so.*' -exec strip '{}' ';'
%files %files
%defattr(-,root,root) %defattr(-,root,root)
/usr/local/* /usr/local/*
%changelog %changelog
* Sat Sep 4 2021 zhangtao <zhangtao221@huawei.com> - 1.10.1-2
- strip dynamic library
* Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com> * Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com>
- Package init - Package init