Accepting request 582049 from home:sbrabec:branches-1082129

- Use python3 (bsc#1082129, pcsc-lite-python3.patch).

OBS-URL: https://build.opensuse.org/request/show/582049
OBS-URL: https://build.opensuse.org/package/show/security:chipcard/pcsc-lite?expand=0&rev=140
This commit is contained in:
Wolfgang Rosenauer 2018-03-03 08:22:59 +00:00 committed by Git OBS Bridge
parent a3f9ddb9e6
commit e6eeadd501
3 changed files with 20 additions and 2 deletions

10
pcsc-lite-python3.patch Normal file
View File

@ -0,0 +1,10 @@
Index: pcsc-lite-1.8.23/src/spy/pcsc-spy
===================================================================
--- pcsc-lite-1.8.23.orig/src/spy/pcsc-spy
+++ pcsc-lite-1.8.23/src/spy/pcsc-spy
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/python3
"""
# Display PC/SC functions arguments

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 2 20:42:09 CET 2018 - sbrabec@suse.com
- Use python3 (bsc#1082129, pcsc-lite-python3.patch).
-------------------------------------------------------------------
Mon Jan 1 11:11:20 UTC 2018 - wr@rosenauer.org

View File

@ -40,6 +40,8 @@ Source6: pcsc-lite-reader-conf
Source7: %{name}-%{version}.tar.bz2.asc
Source8: %{name}.keyring
Patch0: systemd-service.patch
# PATCH-FEATURE-SLE pcsc-lite-python3.patch bsc1082129 sbrabec@suse.com -- Use python3.
Patch1: pcsc-lite-python3.patch
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: pkg-config
@ -96,7 +98,7 @@ This functionality is exercised in the driver.
%package -n libpcscspy0
Summary: PCSC Smart Card Library
License: GPL-3.0+
License: GPL-3.0-or-later
Group: System/Libraries
%description -n libpcscspy0
@ -104,7 +106,7 @@ Supporting library for the PC/SC spy tool.
%package devel
Summary: Development package for the MUSCLE project SmartCards library
License: BSD-3-Clause and GPL-3.0+
License: BSD-3-Clause AND GPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: glibc-devel
@ -118,6 +120,7 @@ compile plugins for the pcsc-lite package.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
cp -a %{SOURCE1} %{SOURCE2} %{SOURCE6} .
%build