From 8f42e992e670446f20d53453d35afe7ca643b336 Mon Sep 17 00:00:00 2001 From: MementoMori <1003350679@qq.com> Date: Thu, 9 Sep 2021 16:29:15 +0800 Subject: [PATCH] add strip --- netty.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/netty.spec b/netty.spec index 43023ad..62b678f 100644 --- a/netty.spec +++ b/netty.spec @@ -2,7 +2,7 @@ Name: netty Version: 4.1.13 -Release: 14 +Release: 15 Summary: Asynchronous event-driven network application Java framework License: ASL 2.0 URL: https://netty.io/ @@ -137,6 +137,8 @@ export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %install %mvn_install +%check +find %{buildroot} -type f -name 'libnetty-transport-native-epoll.so' -exec strip '{}' \; %files -f .mfiles %doc LICENSE.txt NOTICE.txt @@ -146,6 +148,9 @@ export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" %changelog +* Thu Stp 9 2021 Shaowei Cheng - 4.1.13-15 +- add strip + * Mon Aug 16 2021 wangyue - 4.1.13-14 - fix build error @@ -165,7 +170,7 @@ export CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" - fix CVE-2019-16869 CVE-2019-20444 CVE-2019-20445 CVE-2020-11612 * Wed Aug 26 2020 yaokai - 4.1.13-8 - - Disable support for protobuf in the codecs module +- Disable support for protobuf in the codecs module * Mon Dec 23 2019 Shuaishuai Song - 4.1.13-7 - package init -- Gitee