From 67ed90a993b04263944f48735647de798d16d94d Mon Sep 17 00:00:00 2001 From: lingsheng Date: Tue, 7 Sep 2021 10:17:34 +0800 Subject: [PATCH] Strip dynamic library (cherry picked from commit 2c850322e9648cf0c7d59a6af1587a36f55500f3) --- console_bridge.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/console_bridge.spec b/console_bridge.spec index 31ed406..024de7f 100644 --- a/console_bridge.spec +++ b/console_bridge.spec @@ -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 +* Tue Sep 07 2021 lingsheng - 1.0.0-2 +- Strip dynamic library + +* Thu Dec 31 2020 openEuler Buildteam - 1.0.0-1 - Package init