[packages/openssl-engine-ibmpkcs11] - updated to 1.0.2, detect openssl engines dir
qboosh
qboosh at pld-linux.org
Tue Aug 13 20:13:42 CEST 2024
commit 2cb5c848256c4fc4e79bc6ec439f507d63febf92
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Aug 13 19:59:47 2024 +0200
- updated to 1.0.2, detect openssl engines dir
openssl-engine-ibmpkcs11.spec | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/openssl-engine-ibmpkcs11.spec b/openssl-engine-ibmpkcs11.spec
index f837196..1c4c4a6 100644
--- a/openssl-engine-ibmpkcs11.spec
+++ b/openssl-engine-ibmpkcs11.spec
@@ -1,20 +1,23 @@
Summary: IBM PKCS#11 engine for OpenSSL
Summary(pl.UTF-8): Silnik IBM PKCS#11 dla OpenSSL-a
Name: openssl-engine-ibmpkcs11
-Version: 1.0.0
+Version: 1.0.2
Release: 1
License: OpenSSL (Apache-like)
Group: Libraries
-Source0: http://downloads.sourceforge.net/opencryptoki/openssl-ibmpkcs11-%{version}.tar.gz
-# Source0-md5: 3ebb42c427a492a06c146bb9211243b8
-URL: http://opencryptoki.sourceforge.net/
-BuildRequires: autoconf
+Source0: https://downloads.sourceforge.net/opencryptoki/openssl-ibmpkcs11-%{version}.tar.gz
+# Source0-md5: 0aefdbf4cf74bd043710be5ede678646
+URL: https://opencryptoki.sourceforge.net/
+BuildRequires: autoconf >= 2.50
BuildRequires: automake >= 1.6.3
-BuildRequires: libtool
-BuildRequires: openssl-devel >= 0.9.8
-Requires: openssl >= 0.9.8
+BuildRequires: libtool >= 2:2
+BuildRequires: openssl-devel >= 1.1.0
+BuildRequires: pkgconfig
+Requires: openssl >= 1.1.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define enginesdir %(pkg-config --variable=enginesdir libcrypto)
+
%description
IBM PKCS#11 engine for OpenSSL.
@@ -30,7 +33,7 @@ Silnik IBM PKCS#11 dla OpenSSL-a.
%{__autoconf}
%{__automake}
%configure \
- --libdir=%{_libdir}/engines
+ --libdir=%{enginesdir}
%{__make}
@@ -40,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/engines/libibmpkcs11.la
+%{__rm} $RPM_BUILD_ROOT%{enginesdir}/ibmpkcs11.la
%clean
rm -rf $RPM_BUILD_ROOT
@@ -48,4 +51,4 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog LICENSE README openssl.cnf.sample
-%attr(755,root,root) %{_libdir}/engines/libibmpkcs11.so*
+%attr(755,root,root) %{enginesdir}/ibmpkcs11.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssl-engine-ibmpkcs11.git/commitdiff/2cb5c848256c4fc4e79bc6ec439f507d63febf92
More information about the pld-cvs-commit
mailing list