strip dynamic library

(cherry picked from commit 264def81ae1a7af5d3ecd3ef0e303cef3f25ed7a)
This commit is contained in:
zhangtao2020 2021-09-04 16:13:50 +08:00 committed by openeuler-sync-bot
parent d46e9195dd
commit 9fe9cc4098

View File

@ -1,6 +1,6 @@
Name: poco
Version: 1.10.1
Release: 1
Release: 2
Summary: This is ROS melodic ros_comm's 3rdparty poco
License: GPL
URL: https://github.com/pocoproject/poco/releases/tag/poco-1.10.1-release
@ -28,10 +28,14 @@ cd ..
mkdir -p %{buildroot}/usr/local/
cp -r install/* %{buildroot}/usr/local/
find %{buildroot} -type f -name '*.so.*' -exec strip '{}' ';'
%files
%defattr(-,root,root)
/usr/local/*
%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>
- Package init