summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kpowersave/kpowersave.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2019-11-06 18:28:25 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2019-11-19 15:07:26 +0100
commit18cafac14a063cb54c8ed6afc64e87b929c957ee (patch)
tree06fc16c044727989b00efaf3b5403268c632006c /redhat/applications/kpowersave/kpowersave.spec
parent26d469b405d902b6ba50ae7bf45b940cc6c9d57e (diff)
downloadtde-packaging-18cafac14a063cb54c8ed6afc64e87b929c957ee.tar.gz
tde-packaging-18cafac14a063cb54c8ed6afc64e87b929c957ee.zip
RPM: various fixes to build on CentOS 8
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