From 531cdd6b8f4d9abf14c4a0cb5313659e6f061e0a Mon Sep 17 00:00:00 2001 From: Yangyang Shen Date: Sat, 20 Mar 2021 19:21:34 +0800 Subject: [PATCH] add strip secure compile option --- libevent.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libevent.spec b/libevent.spec index d03677e..5d20e87 100644 --- a/libevent.spec +++ b/libevent.spec @@ -2,7 +2,7 @@ Name: libevent Version: 2.1.12 -Release: 1 +Release: 2 Summary: An event notification library License: BSD @@ -39,6 +39,10 @@ with %{name}. cp -a %{_libdir}/libevent* %{buildroot}%{_libdir} rm -f %{buildroot}%{_libdir}/*.la +pushd %{buildroot}%{_libdir} +strip libevent*.so* +popd + %check make check @@ -71,6 +75,12 @@ make check %changelog +* Sat Mar 20 2021 shenyangyang - 2.1.12-2 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:Strip libevent so + * Thu Jul 30 2020 yang_zhuang_zhuang - 2.1.12-1 - Type:enhancement - ID:NA -- Gitee