summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdelibs/tdelibs-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdelibs/tdelibs-14.0.0.spec')
-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