summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdeartwork/tdeartwork.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/main/tdeartwork/tdeartwork.spec')
-rw-r--r--redhat/main/tdeartwork/tdeartwork.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/main/tdeartwork/tdeartwork.spec b/redhat/main/tdeartwork/tdeartwork.spec
index 2c26c45d6..4933488da 100644
--- a/redhat/main/tdeartwork/tdeartwork.spec
+++ b/redhat/main/tdeartwork/tdeartwork.spec
@@ -103,7 +103,8 @@ BuildRequires: libart_lgpl-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%{?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%{?fedora} || 0%{?rhel} >= 5
@@ -732,8 +733,11 @@ fi
\
%{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
%{!?with_libart}:-DWITH_LIBART=OFF} \
- -DWITH_OPENGL=ON \
+ -DWITH_ALL_OPTIONS=ON \
-DWITH_ARTS=ON \
+ -DWITH_LIBART=ON \
+ -DWITH_OPENGL=ON \
+ -DWITH_XSCREENSAVER=ON \
-DBUILD_ALL=ON \
..