summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdepim/tdepim.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdepim/tdepim.spec')
-rw-r--r--redhat/main/tdepim/tdepim.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/redhat/main/tdepim/tdepim.spec b/redhat/main/tdepim/tdepim.spec
index 5a22f1ed3..35b3e3b76 100644
--- a/redhat/main/tdepim/tdepim.spec
+++ b/redhat/main/tdepim/tdepim.spec
@@ -144,7 +144,7 @@ BuildRequires: libXcomposite-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%{?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