Unbreak CardOS 5.x support

This commit is contained in:
Jakub Jelen 2020-05-13 09:58:45 +02:00
parent cdcd46945b
commit 663c939ecd
2 changed files with 1341 additions and 0 deletions

1338
opensc-0.20.0-cardos.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -15,6 +15,8 @@ Source1: opensc.module
Source2: common.sh
Patch1: opensc-0.19.0-pinpad.patch
Patch2: opensc-0.20.0-no-common.patch
# https://github.com/OpenSC/OpenSC/pull/1987
Patch3: opensc-0.20.0-cardos.patch
BuildRequires: pcsc-lite-devel
BuildRequires: readline-devel
@ -50,6 +52,7 @@ every software/card that does so, too.
%setup -q
%patch1 -p1 -b .pinpad
%patch2 -p1 -b .no-common
%patch3 -p1 -b .cardos
cp %{SOURCE2} tests/
# The test-pkcs11-tool-allowed-mechanisms already works in Fedora