[packages/pcsc-lite] up to 2.2.0
atler
atler at pld-linux.org
Sat May 4 12:41:28 CEST 2024
commit a0c43e3cae3754c9946172fe2353427889819b73
Author: Jan Palus <atler at pld-linux.org>
Date: Sat May 4 12:38:31 2024 +0200
up to 2.2.0
missing-symbol.patch | 33 ---------------------------------
pcsc-lite.spec | 14 +++++++-------
2 files changed, 7 insertions(+), 40 deletions(-)
---
diff --git a/pcsc-lite.spec b/pcsc-lite.spec
index 8e0123f..7d84992 100644
--- a/pcsc-lite.spec
+++ b/pcsc-lite.spec
@@ -14,18 +14,17 @@
Summary: PCSC Framework for Linux
Summary(pl.UTF-8): Środowisko PCSC dla Linuksa
Name: pcsc-lite
-Version: 2.1.0
+Version: 2.2.0
Release: 1
License: BSD
Group: Daemons
-Source0: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.bz2
-# Source0-md5: 132f3cfb8642ee7600233c7742e92bc4
+Source0: https://pcsclite.apdu.fr/files/%{name}-%{version}.tar.xz
+# Source0-md5: 9e4006e1f3210ffa7dd0fadbc9083dc2
Source1: %{name}-pcscd.init
Source2: %{name}-pcscd.sysconfig
Source4: %{name}.tmpfiles
-Patch0: missing-symbol.patch
-Patch1: %{name}-any.patch
-Patch2: debuglog-pid.patch
+Patch0: %{name}-any.patch
+Patch1: debuglog-pid.patch
URL: https://pcsclite.apdu.fr/
BuildRequires: autoconf >= 2.69
BuildRequires: autoconf-archive
@@ -40,7 +39,9 @@ BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
BuildRequires: rpmbuild(macros) >= 1.647
%{?with_systemd:BuildRequires: systemd-devel}
+BuildRequires: tar >= 1:1.22
%{?with_udev:BuildRequires: udev-devel}
+BuildRequires: xz
Requires(post,preun): /sbin/chkconfig
Requires(pretrans): fileutils
%{?with_polkit:Requires: polkit >= 0.111}
@@ -117,7 +118,6 @@ Dokumentacja API biblioteki PC/SC Lite.
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%{__sed} -i -e '1s, /usr/bin/python$,%{__python3},' src/spy/pcsc-spy
diff --git a/missing-symbol.patch b/missing-symbol.patch
deleted file mode 100644
index b4006e2..0000000
--- a/missing-symbol.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 2384e4cd63ea8cb52af6af7c7cad54ead8d78543 Mon Sep 17 00:00:00 2001
-From: Ludovic Rousseau <ludovic.rousseau at free.fr>
-Date: Fri, 12 Apr 2024 21:20:14 +0200
-Subject: [PATCH] libpcscspy.c: do not use pcsc_stringify_error()
-
-Fix the library loading by dlopen(), for example with OpenSC.
-
-$ LIBPCSCLITE_DELEGATE=/lib/x86_64-linux-gnu/libpcscspy.so.0 opensc-tool -a
-loading "/lib/x86_64-linux-gnu/libpcscspy.so.0" failed: /lib/x86_64-linux-gnu/libpcscspy.so.0: undefined symbol: pcsc_stringify_error
-No smart card readers found.
-Failed to connect to reader: No readers found
----
- src/spy/libpcscspy.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/spy/libpcscspy.c b/src/spy/libpcscspy.c
-index 9877c4e9..80113529 100644
---- a/src/spy/libpcscspy.c
-+++ b/src/spy/libpcscspy.c
-@@ -205,8 +205,8 @@ static void spy_quit(const char *fname, LONG rv)
- struct timeval profile_time;
-
- gettimeofday(&profile_time, NULL);
-- spy_line("<|%ld|%ld|%s|%s|0x%08lX", profile_time.tv_sec,
-- profile_time.tv_usec, fname, pcsc_stringify_error(rv), rv);
-+ spy_line("<|%ld|%ld|%s|0x%08lX", profile_time.tv_sec,
-+ profile_time.tv_usec, fname, rv);
- }
-
- #define Enter() spy_enter(__FUNCTION__)
---
-GitLab
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pcsc-lite.git/commitdiff/a0c43e3cae3754c9946172fe2353427889819b73
More information about the pld-cvs-commit
mailing list