summaryrefslogtreecommitdiffstats
path: root/redhat/main
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main')
-rw-r--r--redhat/main/tdelibs/tdelibs-14.0.0.spec10
1 files changed, 9 insertions, 1 deletions
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