summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--redhat/applications/smartcardauth/smartcardauth-14.0.0.spec16
1 files 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