[packages/libp11] - updated to 0.4.13

qboosh qboosh at pld-linux.org
Fri Feb 28 22:30:26 CET 2025


commit 464d6df87f5044c87f668b423bf9b1219323dd83
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 28 22:29:34 2025 +0100

    - updated to 0.4.13

 libp11-openssl3.patch | 11 -----------
 libp11.spec           | 11 +++++++----
 2 files changed, 7 insertions(+), 15 deletions(-)
---
diff --git a/libp11.spec b/libp11.spec
index c970769..7499b94 100644
--- a/libp11.spec
+++ b/libp11.spec
@@ -1,14 +1,13 @@
 Summary:	Layer on top of PKCS#11 API to make using PKCS#11 implementations easier
 Summary(pl.UTF-8):	Warstwa powyżej API PKCS#11 ułatwiająca używanie implementacji PKCS#11
 Name:		libp11
-Version:	0.4.12
+Version:	0.4.13
 Release:	1
 License:	LGPL v2.1+
 Group:		Libraries
 #Source0Download: https://github.com/OpenSC/libp11/releases
 Source0:	https://github.com/OpenSC/libp11/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	2ec3c29523cc06ec60166b320c489c63
-Patch0:		%{name}-openssl3.patch
+# Source0-md5:	ae9b1c6ccf53834dc4923c3806ff7059
 URL:		https://github.com/OpenSC/libp11
 BuildRequires:	doxygen
 BuildRequires:	openssl-devel >= 3.0.0
@@ -87,7 +86,6 @@ takim jak OpenSC.
 
 %prep
 %setup -q
-%patch -P0 -p1
 
 %build
 %configure \
@@ -107,6 +105,7 @@ cp -af examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 # obsoleted by pkgconfig
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libp11.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libpkcs11.la
 # loadable module
 %{__rm} $RPM_BUILD_ROOT/%{_lib}/engines-3/*.la
 # packaged as %doc
@@ -123,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc NEWS README.md
 %attr(755,root,root) %{_libdir}/libp11.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libp11.so.3
+%attr(755,root,root) %{_libdir}/libpkcs11.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpkcs11.so.0
+%attr(755,root,root) %{_libdir}/libpkcs11.so
 
 %files devel
 %defattr(644,root,root,755)
@@ -135,6 +137,7 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libp11.a
+%{_libdir}/libpkcs11.a
 
 %files apidocs
 %defattr(644,root,root,755)
diff --git a/libp11-openssl3.patch b/libp11-openssl3.patch
deleted file mode 100644
index 2a0da92..0000000
--- a/libp11-openssl3.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libp11-0.4.12/configure.ac.orig	2022-07-15 21:56:04.000000000 +0200
-+++ libp11-0.4.12/configure.ac	2023-05-29 19:58:08.260502411 +0200
-@@ -33,7 +33,7 @@ AC_C_BIGENDIAN
- # issues with applications linking to new openssl, old libp11, and vice versa
- case "`$PKG_CONFIG --modversion --silence-errors libcrypto || \
- 	$PKG_CONFIG --modversion openssl`" in
--	3.0.*) # Predicted engines directory prefix for OpenSSL 3.x
-+	3.*.*) # Predicted engines directory prefix for OpenSSL 3.x
- 	    LIBP11_LT_OLDEST="3"
- 	    debian_ssl_prefix="openssl-3.0.0";;
- 	1.1.*) # Predicted engines directory prefix for OpenSSL 1.1.x
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libp11.git/commitdiff/464d6df87f5044c87f668b423bf9b1219323dd83



More information about the pld-cvs-commit mailing list