summaryrefslogtreecommitdiffstats
path: root/redhat/main/tdebase
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2015-04-27 10:12:24 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2015-04-27 10:12:24 +0200
commit4b6d314fd1d6fac2fb82833811ae004f98b0b195 (patch)
tree4cdac0f668a9d963f5ab7f19514bc6deb9ba3765 /redhat/main/tdebase
parent64e1ad0607cad4ecde329bb85e7ebec51802b729 (diff)
downloadtde-packaging-4b6d314fd1d6fac2fb82833811ae004f98b0b195.tar.gz
tde-packaging-4b6d314fd1d6fac2fb82833811ae004f98b0b195.zip
RPM Packaging: enable xscreensaver on RHEL
Diffstat (limited to 'redhat/main/tdebase')
-rw-r--r--redhat/main/tdebase/tdebase-14.0.0.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec
index 46ab3ce31..b9dddd86e 100644
--- a/redhat/main/tdebase/tdebase-14.0.0.spec
+++ b/redhat/main/tdebase/tdebase-14.0.0.spec
@@ -319,8 +319,10 @@ BuildRequires: %{_lib}sasl2-devel
BuildRequires: cyrus-sasl-devel
%endif
-# LIBUSB support
+# PAM support
BuildRequires: pam-devel
+
+# LIBUSB support
%if 0%{?mageia} || 0%{?mandriva} || 0%{?pclinuxos}
BuildRequires: %{_lib}usb1.0-devel
BuildRequires: %{_lib}usb-compat0.1-devel
@@ -397,7 +399,7 @@ BuildRequires: OpenEXR-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} || 0%{?with_xscreensaver}
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
%define with_xscreensaver 1
%if 0%{?fedora} || 0%{?rhel} >= 5