diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 12c09eefa82133455c993ed262a9db99439f078d..8dae3fb260a23a2a20f091645e9c63b9e4cf43e3 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