From a4ff725980cf564ec679d92a311606e1549f641ebf97420b821abe884a9bfb07 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 18 Nov 2012 15:33:56 +0000 Subject: [PATCH] Accepting request 141598 from home:dimstar:branches:GNOME:Factory - Only conditionally require ConsoleKit from gnome-session-core, based on with_systemd defines: while switching openSUSE 12.3 to systemd based session tracking, we should not require CK anymore. OBS-URL: https://build.opensuse.org/request/show/141598 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-session?expand=0&rev=166 --- gnome-session.changes | 7 +++++++ gnome-session.spec | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/gnome-session.changes b/gnome-session.changes index e96918f..949e5d1 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Nov 16 22:01:14 UTC 2012 - dimstar@opensuse.org + +- Only conditionally require ConsoleKit from gnome-session-core, + based on with_systemd defines: while switching openSUSE 12.3 to + systemd based session tracking, we should not require CK anymore. + ------------------------------------------------------------------- Tue Nov 13 11:57:58 UTC 2012 - dimstar@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index 622872f..ee40436 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -16,6 +16,8 @@ # +%define with_systemd 1 + Name: gnome-session Version: 3.6.2 Release: 0 @@ -110,7 +112,9 @@ a GNOME 3 session that looks and feels like GNOME 2. %package core Summary: Session Manager for GNOME -- Minimal Version Group: System/GUI/GNOME +%if ! %{with_systemd} Requires: ConsoleKit +%endif Requires: dbus-1-x11 Requires: gsettings-desktop-schemas >= 0.1.7 Requires: hicolor-icon-theme