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.spec3
1 files changed, 2 insertions, 1 deletions
diff --git a/redhat/applications/tdepowersave/tdepowersave.spec b/redhat/applications/tdepowersave/tdepowersave.spec
index cd5ca7c70..e30d303c6 100644
--- a/redhat/applications/tdepowersave/tdepowersave.spec
+++ b/redhat/applications/tdepowersave/tdepowersave.spec
@@ -86,7 +86,8 @@ BuildRequires: libudev-devel
# XSCREENSAVER support
# Disabled on RHEL4
-%if 0%{?fedora} >= 15 || 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%{?rhel} == 5
BuildRequires: xorg-x11-proto-devel