From 48899c8c13498f08b3ee4bf045931d22b9cf14aa Mon Sep 17 00:00:00 2001 From: jackie_wu Date: Thu, 18 Mar 2021 14:53:51 +0800 Subject: [PATCH] add strip --- artemis.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/artemis.spec b/artemis.spec index 0d83437..114342a 100644 --- a/artemis.spec +++ b/artemis.spec @@ -1,7 +1,7 @@ %global debug_package %nil Name: artemis Version: 1.4.0 -Release: 1 +Release: 2 Summary: Java high performance, clustered, asynchronous messaging system License: ASL 2.0 URL: https://github.com/apache/activemq-artemis/ @@ -287,6 +287,8 @@ done mkdir -p %{buildroot}%{_libdir}/%{name} install -pm 755 artemis-native/bin/libartemis-native-%{__isa_bits}.so %{buildroot}%{_libdir}/%{name}/libartemis-native.so +find %{buildroot} -type f -name 'libartemis-native.so' -exec strip '{}' \; + %files boot -f .mfiles-artemis-boot %license LICENSE NOTICE @@ -356,5 +358,8 @@ install -pm 755 artemis-native/bin/libartemis-native-%{__isa_bits}.so %{buildroo %license LICENSE NOTICE %changelog +* Thu Mar 18 2021 wutao - 1.4.0-2 +- add strip + * Wed Oct 28 2020 baizhonggui - 1.4.0-1 - package init -- Gitee