[lightdm/epel7] add redhat conditionals

leigh123linux leigh123linux at fedoraproject.org
Sat May 17 09:23:46 UTC 2014


commit 74c68138334bb7f564e08579df89d0f1ec81fc8e
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Sat May 17 10:23:38 2014 +0100

    add redhat conditionals

 lightdm.spec |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/lightdm.spec b/lightdm.spec
index 58790ee..f8b81e2 100644
--- a/lightdm.spec
+++ b/lightdm.spec
@@ -1,6 +1,6 @@
 
-%if 0%{?fedora} > 17
-%define systemd 1
+%if (0%{?rhel} && 0%{?rhel} > 6) || (0%{?fedora} && 0%{?fedora} > 17)
+%global systemd 1
 %endif
 
 # Revert, crashes https://bugzilla.redhat.com/956868
@@ -9,7 +9,7 @@
 Name:    lightdm
 Summary: Lightweight Display Manager
 Version: 1.6.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 # library/bindings are LGPLv2 or LGPLv3, the rest GPLv3+
 License: (LGPLv2 or LGPLv3) and GPLv3+
@@ -73,7 +73,7 @@ Requires: accountsservice
 Requires: ConsoleKit
 %endif
 Requires: dbus-x11
-%if 0%{?fedora} && 0%{?fedora} > 18
+%if (0%{?rhel} && 0%{?rhel} > 6) || (0%{?fedora} && 0%{?fedora} > 18)
 Requires: polkit-js-engine
 %endif
 # aka /sbin/shutdown, and friends
@@ -265,6 +265,9 @@ exit 0
 
 
 %changelog
+* Sat May 17 2014 Leigh Scott <leigh123linux at googlemail.com> - 1.6.3-4
+- add redhat conditionals
+
 * Mon Nov 11 2013 Rex Dieter <rdieter at fedoraproject.org> 1.6.3-3
 - sync scriptlets with f20+ branch
 


More information about the scm-commits mailing list