summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tde-guidance/tde-guidance.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tde-guidance/tde-guidance.spec')
-rw-r--r--redhat/applications/tde-guidance/tde-guidance.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/applications/tde-guidance/tde-guidance.spec b/redhat/applications/tde-guidance/tde-guidance.spec
index 98c5cbe9d..a97fe18ee 100644
--- a/redhat/applications/tde-guidance/tde-guidance.spec
+++ b/redhat/applications/tde-guidance/tde-guidance.spec
@@ -104,7 +104,8 @@ BuildRequires: libXxf86vm-devel
# RHEL 4: disabled
# RHEL 6: available in EPEL
# RHEL 7: available in NUX
-%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?suse_version}
+# RHEL 8: available in EPEL
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?fedora} || 0%{?rhel} >= 5