summaryrefslogtreecommitdiffstats
path: root/redhat/main
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2016-05-07 19:16:10 +0200
committerFrançois Andriot <[email protected]>2016-05-07 19:16:10 +0200
commita96b839557aae5ac79add2bcd90edd5d007b4ed1 (patch)
treeeb1cdbb794f4b123a945ec86257693b5b4c8ff7a /redhat/main
parent3a2fc9529691a2bfb6212014d9055f8052b91f8b (diff)
downloadtde-packaging-a96b839557aae5ac79add2bcd90edd5d007b4ed1.tar.gz
tde-packaging-a96b839557aae5ac79add2bcd90edd5d007b4ed1.zip
RPM Packaging: update tdelibs dependencies
Diffstat (limited to 'redhat/main')
-rw-r--r--redhat/main/tdelibs/tdelibs-14.0.0.spec7
1 files changed, 4 insertions, 3 deletions
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