diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index 8dae3fb260a23a2a20f091645e9c63b9e4cf43e3..589fd64af1aa89c396eb50bf96756ed81c67419c 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,6 +1,6 @@ Name: openssl-pkcs11 Version: 0.4.11 -Release: 3 +Release: 4 Summary: A PKCS#11 engine for use with OpenSSL License: LGPLv2+ and BSD URL: https://github.com/OpenSC/libp11 @@ -41,13 +41,19 @@ make %{?_smp_mflags} V=1 %install rm -rf %{buildroot} -strip examples/.libs/* mkdir -p %{buildroot}%{_libdir}/engines-1.1 %make_install %delete_la +#strip binary files +pushd %{_builddir}/libp11-%{version} +find src/.libs -type f -name '*.so*' -exec strip '{}' ';' +strip examples/.libs/* +popd + %check make check +strip %{_builddir}/libp11-%{version}/examples/.libs/lt-* %pre @@ -74,6 +80,9 @@ make check %exclude %{_defaultdocdir}/libp11/* %changelog +* Tue Mar 30 2021 panxiaohe - 0.4.11-4 +- strip binary files + * Mon Mar 22 2021 panxiaohe - 0.4.11-3 - strip binary files in examples directory - remove strip secure compile option