summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kpowersave/kpowersave.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kpowersave/kpowersave.spec')
-rw-r--r--redhat/applications/kpowersave/kpowersave.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/applications/kpowersave/kpowersave.spec b/redhat/applications/kpowersave/kpowersave.spec
index e14bc569f..882fb74cc 100644
--- a/redhat/applications/kpowersave/kpowersave.spec
+++ b/redhat/applications/kpowersave/kpowersave.spec
@@ -82,7 +82,8 @@ BuildRequires: brp-check-trinity
# 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