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.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/kpowersave/kpowersave.spec b/redhat/applications/kpowersave/kpowersave.spec
index d4913e9b6..7a66cafaf 100644
--- a/redhat/applications/kpowersave/kpowersave.spec
+++ b/redhat/applications/kpowersave/kpowersave.spec
@@ -82,7 +82,7 @@ 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%{?suse_version}
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?fedora} || 0%{?rhel} >= 5