Strip dynamic library

(cherry picked from commit 2c850322e9648cf0c7d59a6af1587a36f55500f3)
This commit is contained in:
lingsheng 2021-09-07 10:17:34 +08:00 committed by openeuler-sync-bot
parent 9e810dce1a
commit 67ed90a993

View File

@ -1,6 +1,6 @@
Name: console_bridge
Version: 1.0.0
Release: 1
Release: 2
Summary: This is ROS melodic ros_comm's 3rdparty console_bridge
License: GPL
URL: https://github.com/ros/console_bridge/releases/tag/1.0.0
@ -27,13 +27,19 @@ cd ..
mkdir -p %{buildroot}/usr/local/
cp -r install/* %{buildroot}/usr/local/
#Strip dynamic library
find %{buildroot} -type f -name 'libconsole_bridge.so.1.0' -exec strip '{}' \;
%files
%defattr(-,root,root)
/usr/local/*
%changelog
* Thu December 31 2020 openEuler Buildteam <hanhaomin008@126.com>
* Tue Sep 07 2021 lingsheng <lingsheng@huawei.com> - 1.0.0-2
- Strip dynamic library
* Thu Dec 31 2020 openEuler Buildteam <hanhaomin008@126.com> - 1.0.0-1
- Package init