From edddce303a1970d62d7abe808e44d077ae20defa Mon Sep 17 00:00:00 2001 From: François Andriot Date: Fri, 6 May 2016 11:56:19 +0200 Subject: RPM Packaging: update tdelibs --- redhat/main/tdelibs/tdelibs-14.0.0.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'redhat/main/tdelibs/tdelibs-14.0.0.spec') diff --git a/redhat/main/tdelibs/tdelibs-14.0.0.spec b/redhat/main/tdelibs/tdelibs-14.0.0.spec index d766fcb9b..434eb5ed3 100644 --- a/redhat/main/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/main/tdelibs/tdelibs-14.0.0.spec @@ -402,14 +402,22 @@ BuildRequires: %{_lib}pkcs11-helper-devel %else BuildRequires: pkcs11-helper-devel %endif + +# OPENSC support +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7 || 0%{?fedora} BuildRequires: opensc +%endif # CRYPTSETUP support %if 0%{?mdkversion} || 0%{?mgaversion} BuildRequires: %{_lib}cryptsetup-devel -%else +%endif +%if 0%{?suse_version} BuildRequires: libcryptsetup-devel %endif +%if 0%{?rhel} || 0%{?fedora} +BuildRequires: cryptsetup-devel +%endif # ELFICON support %if 0 -- cgit v1.2.3