summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2016-08-15 11:23:53 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2016-08-15 11:23:53 +0200
commit1f84ea324a054ba72006a378ba0e835e941915fb (patch)
tree125aad0c2c94ddf73c9cdacbae8e000b8e16f9fe
parentbced056d7bc5d505a8e8fdb63d79eb802416e7a8 (diff)
downloadtde-packaging-1f84ea324a054ba72006a378ba0e835e941915fb.tar.gz
tde-packaging-1f84ea324a054ba72006a378ba0e835e941915fb.zip
RPM Packaging: add PKCS11 dependency to smartcardauth
-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