From e76e7eb3dcd16506a0f32efd006f7c1d91bbe23e Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Mon, 22 Mar 2021 19:01:53 +0800 Subject: [PATCH] strip binary files in examples directory --- openssl-pkcs11.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 12c09ee..8dae3fb 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,6 +1,6 @@ Name: openssl-pkcs11 Version: 0.4.11 -Release: 2 +Release: 3 Summary: A PKCS#11 engine for use with OpenSSL License: LGPLv2+ and BSD URL: https://github.com/OpenSC/libp11 @@ -37,10 +37,11 @@ Development headers and libraries for %{name} autoreconf -fvi export CFLAGS="%{optflags}" %configure --with-enginesdir=%{_libdir}/engines-1.1 -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -s" V=1 +make %{?_smp_mflags} V=1 %install rm -rf %{buildroot} +strip examples/.libs/* mkdir -p %{buildroot}%{_libdir}/engines-1.1 %make_install %delete_la @@ -73,6 +74,10 @@ make check %exclude %{_defaultdocdir}/libp11/* %changelog +* Mon Mar 22 2021 panxiaohe - 0.4.11-3 +- strip binary files in examples directory +- remove strip secure compile option + * Sat Mar 20 2021 shenyangyang - 0.4.11-2 - Add strip secure compile option -- Gitee