From 01c4850a41c599fd6e383d3ee2bb076d06c98001 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 11 Oct 2021 13:50:49 +0200 Subject: [PATCH] The pkcs11-tool-test already works in rawhide --- opensc.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/opensc.spec b/opensc.spec index bbc58f4..18c6e4d 100644 --- a/opensc.spec +++ b/opensc.spec @@ -60,6 +60,12 @@ every software/card that does so, too. %patch8 -p1 -b .file-cache %patch9 -p1 -b .detect-empty +# The test-pkcs11-tool-allowed-mechanisms already works in Fedora +sed -i -e '/XFAIL_TESTS/,$ { + s/XFAIL_TESTS.*/XFAIL_TESTS=test-pkcs11-tool-test-threads.sh/ + q +}' tests/Makefile.am + cp -p src/pkcs15init/README ./README.pkcs15init cp -p src/scconf/README.scconf .