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

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