From a96b839557aae5ac79add2bcd90edd5d007b4ed1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 7 May 2016 19:16:10 +0200 Subject: RPM Packaging: update tdelibs dependencies --- redhat/main/tdelibs/tdelibs-14.0.0.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'redhat/main') diff --git a/redhat/main/tdelibs/tdelibs-14.0.0.spec b/redhat/main/tdelibs/tdelibs-14.0.0.spec index 9f2b03077..d0d61a3c4 100644 --- a/redhat/main/tdelibs/tdelibs-14.0.0.spec +++ b/redhat/main/tdelibs/tdelibs-14.0.0.spec @@ -404,9 +404,7 @@ BuildRequires: pkcs11-helper-devel %endif # OPENSC support -%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?rhel} >= 7 || 0%{?fedora} || 0%{?suse_version} BuildRequires: opensc -%endif # CRYPTSETUP support %if 0%{?mdkversion} || 0%{?mgaversion} @@ -415,9 +413,12 @@ BuildRequires: %{_lib}cryptsetup-devel %if 0%{?suse_version} BuildRequires: libcryptsetup-devel %endif -%if 0%{?rhel} || 0%{?fedora} +%if 0%{?rhel} >= 7 || 0%{?fedora} BuildRequires: cryptsetup-devel %endif +%if 0%{?rhel} == 5 || 0%{?rhel} == 6 +BuildRequires: cryptsetup-luks-devel +%endif # ELFICON support %if 0 -- cgit v1.2.1