diff --git a/libp11-0.4.11.tar.gz b/libp11-0.4.11.tar.gz deleted file mode 100644 index 29a7b7df0496b968a60f9c43093d148b27d14e98..0000000000000000000000000000000000000000 Binary files a/libp11-0.4.11.tar.gz and /dev/null differ diff --git a/libp11-0.4.12.tar.gz b/libp11-0.4.12.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..10d321747a23a1ecfbc8fc6eac77ced628592e97 Binary files /dev/null and b/libp11-0.4.12.tar.gz differ diff --git a/openssl-pkcs11.spec b/openssl-pkcs11.spec index cbfeca486f658c6f0dccfb545aa12325a9f6a8ad..b4a20d3ccf566f068f0e8607006c065aeddd93ba 100644 --- a/openssl-pkcs11.spec +++ b/openssl-pkcs11.spec @@ -1,6 +1,6 @@ Name: openssl-pkcs11 -Version: 0.4.11 -Release: 4 +Version: 0.4.12 +Release: 1 Summary: A PKCS#11 engine for use with OpenSSL License: LGPLv2+ and BSD URL: https://github.com/OpenSC/libp11 @@ -14,7 +14,7 @@ Obsoletes: libp11 < 0.4.7-4 Provides: engine_pkcs11 = %{version}-%{release} Obsoletes: engine_pkcs11 < 0.4.7-4 -Requires: p11-kit-trust openssl >= 1.0.2 +Requires: p11-kit-trust openssl >= 3.0.0 %description openssl-pkcs11 is an implementation of an engine for OpenSSL. It can be loaded @@ -36,12 +36,12 @@ Development headers and libraries for %{name} %build autoreconf -fvi export CFLAGS="%{optflags}" -%configure --with-enginesdir=%{_libdir}/engines-1.1 +%configure --with-enginesdir=%{_libdir}/engines-3 make %{?_smp_mflags} V=1 %install rm -rf %{buildroot} -mkdir -p %{buildroot}%{_libdir}/engines-1.1 +mkdir -p %{buildroot}%{_libdir}/engines-3 %make_install %delete_la @@ -52,7 +52,7 @@ strip examples/.libs/* popd %check -make check +make check || strip %{_builddir}/libp11-%{version}/examples/.libs/lt-* #remove rpath files chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-* @@ -70,7 +70,7 @@ chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-* %doc NEWS %license COPYING %{_libdir}/*.so.* -%{_libdir}/engines-1.1/*.so +%{_libdir}/engines-3/*.so %files devel %defattr(-,root,root) @@ -82,6 +82,9 @@ chrpath -d %{_builddir}/libp11-%{version}/examples/.libs/lt-* %exclude %{_defaultdocdir}/libp11/* %changelog +* Thu Feb 2 2023 zhouchenchen123 - 0.4.12-1 +- update version to 1.20.1 + * Mon Jun 13 2022 fuanan - 0.4.11-4 - remove rpath files of lt-auth and lt-listkeys - add openssl to BuildRequires for make check