summaryrefslogtreecommitdiffstats
path: root/redhat/applications/tdepowersave/tdepowersave.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/tdepowersave/tdepowersave.spec')
-rw-r--r--redhat/applications/tdepowersave/tdepowersave.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/applications/tdepowersave/tdepowersave.spec b/redhat/applications/tdepowersave/tdepowersave.spec
index c69a1df22..1d93bb0cd 100644
--- a/redhat/applications/tdepowersave/tdepowersave.spec
+++ b/redhat/applications/tdepowersave/tdepowersave.spec
@@ -86,7 +86,7 @@ BuildRequires: libudev-devel
# XSCREENSAVER support
# Disabled on RHEL4
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 5 || 0%{?rhel} == 6 || 0%{?rhel} == 7 || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?rhel} == 5
BuildRequires: xorg-x11-proto-devel