Strip dynamic library
(cherry picked from commit 2c850322e9648cf0c7d59a6af1587a36f55500f3)
This commit is contained in:
parent
9e810dce1a
commit
67ed90a993
@ -1,6 +1,6 @@
|
|||||||
Name: console_bridge
|
Name: console_bridge
|
||||||
Version: 1.0.0
|
Version: 1.0.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: This is ROS melodic ros_comm's 3rdparty console_bridge
|
Summary: This is ROS melodic ros_comm's 3rdparty console_bridge
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: https://github.com/ros/console_bridge/releases/tag/1.0.0
|
URL: https://github.com/ros/console_bridge/releases/tag/1.0.0
|
||||||
@ -27,13 +27,19 @@ cd ..
|
|||||||
mkdir -p %{buildroot}/usr/local/
|
mkdir -p %{buildroot}/usr/local/
|
||||||
cp -r install/* %{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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/local/*
|
/usr/local/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
- Package init
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user