From 3ebc05d127cd90ec4d625615af50f34cbc79d198 Mon Sep 17 00:00:00 2001 From: Yangyang Shen Date: Sat, 20 Mar 2021 19:36:48 +0800 Subject: [PATCH] Add strip secure compile option --- openssl-pkcs11.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 4e6a6ac..12c09ee 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,6 +1,6 @@ Name: openssl-pkcs11 Version: 0.4.11 -Release: 1 +Release: 2 Summary: A PKCS#11 engine for use with OpenSSL License: LGPLv2+ and BSD URL: https://github.com/OpenSC/libp11 @@ -37,7 +37,7 @@ Development headers and libraries for %{name} autoreconf -fvi export CFLAGS="%{optflags}" %configure --with-enginesdir=%{_libdir}/engines-1.1 -make %{?_smp_mflags} V=1 +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -s" V=1 %install rm -rf %{buildroot} @@ -73,6 +73,9 @@ make check %exclude %{_defaultdocdir}/libp11/* %changelog +* Sat Mar 20 2021 shenyangyang - 0.4.11-2 +- Add strip secure compile option + * Sat Jan 23 2021 zoulin - 0.4.11-1 - update version to 0.4.11 -- Gitee