[packages/pkcs11-helper] - up to 1.23; don't drag unnecessary libs via pc file
arekm
arekm at pld-linux.org
Thu Jun 7 15:51:03 CEST 2018
commit b6eec26264267fb98d74dd33e2ad904a27211c33
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Thu Jun 7 15:50:55 2018 +0200
- up to 1.23; don't drag unnecessary libs via pc file
no-libs.patch | 8 ++++++++
pkcs11-helper.spec | 6 ++++--
2 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/pkcs11-helper.spec b/pkcs11-helper.spec
index ed6d5a1..ae930a2 100644
--- a/pkcs11-helper.spec
+++ b/pkcs11-helper.spec
@@ -1,13 +1,14 @@
Summary: Helper library for the use with smart cards and the PKCS#11 API
Summary(pl.UTF-8): Biblioteka pomocnicza do używania z kartami procesorowymi i API PKCS#11
Name: pkcs11-helper
-Version: 1.22
+Version: 1.23
Release: 1
License: GPL v2 or BSD
Group: Libraries
#Source0Download: https://github.com/OpenSC/pkcs11-helper/releases
Source0: https://github.com/OpenSC/pkcs11-helper/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
-# Source0-md5: c7824ef1faa357a185ae1660fb669da3
+Patch0: no-libs.patch
+# Source0-md5: 1670f2607b746424dadb3b833861d0b0
URL: https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper
# for macros
BuildRequires: automake
@@ -67,6 +68,7 @@ Dokumentacja API biblioteki pkcs11-helper.
%prep
%setup -q
+%patch0 -p1
%build
%configure \
diff --git a/no-libs.patch b/no-libs.patch
new file mode 100644
index 0000000..21daa3d
--- /dev/null
+++ b/no-libs.patch
@@ -0,0 +1,8 @@
+--- pkcs11-helper-1.22/lib/libpkcs11-helper-1.pc.in~ 2012-11-23 12:35:52.000000000 +0100
++++ pkcs11-helper-1.22/lib/libpkcs11-helper-1.pc.in 2018-06-07 15:46:52.398048423 +0200
+@@ -8,4 +8,4 @@ Name: pkcs11-helper
+ Description: PKCS#11 helper library
+ Version: @PACKAGE_VERSION@
+ Cflags: -I${includedir}
+-Libs: @LIBS@ -L${libdir} -lpkcs11-helper
++Libs: -L${libdir} -lpkcs11-helper
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pkcs11-helper.git/commitdiff/b6eec26264267fb98d74dd33e2ad904a27211c33
More information about the pld-cvs-commit
mailing list