From 1f84ea324a054ba72006a378ba0e835e941915fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 15 Aug 2016 11:23:53 +0200 Subject: [PATCH] RPM Packaging: add PKCS11 dependency to smartcardauth --- .../smartcardauth/smartcardauth-14.0.0.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec index aee1a1bb4..26360cc94 100644 --- a/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec +++ b/redhat/applications/smartcardauth/smartcardauth-14.0.0.spec @@ -78,14 +78,24 @@ BuildRequires: brp-check-trinity %endif #BuildRequires: perl-PAR-Packer + +# PCSC support %if 0%{?mgaversion} || 0%{?mdkversion} -Requires: perl-pcsc-perl +Requires: perl-pcsc-perl %endif %if 0%{?rhel} || 0%{?fedora} -Requires: pcsc-perl +Requires: pcsc-perl %endif %if 0%{?suse_version} -Requires: perl-pcsc +Requires: perl-pcsc +%endif + +# PKCS11 support +%if 0%{?mgaversion} || 0%{?mdkversion} +BuildRequires: %{_lib}pkcs11-helper-devel +%endif +%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version} +BuildRequires: pkcs11-helper-devel %endif # DB4/DB5 support