diff --git a/gnome-session.changes b/gnome-session.changes index fdfc4c3..1c7339f 100644 --- a/gnome-session.changes +++ b/gnome-session.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 2 16:25:06 UTC 2012 - jhernandez@emergya.es + +- Enable systemd only for openSUSE >= 12.2 + ------------------------------------------------------------------- Tue Mar 27 08:55:41 UTC 2012 - vuntz@opensuse.org diff --git a/gnome-session.spec b/gnome-session.spec index ee90616..87e073c 100644 --- a/gnome-session.spec +++ b/gnome-session.spec @@ -51,8 +51,10 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(json-glib-1.0) >= 0.10 +%if 0%{?suse_version} >= 1220 BuildRequires: pkgconfig(libsystemd-daemon) BuildRequires: pkgconfig(libsystemd-login) +%endif BuildRequires: pkgconfig(polkit-gobject-1) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(upower-glib) @@ -141,6 +143,7 @@ translation-update-upstream %build NOCONFIGURE=1 gnome-autogen.sh %configure + %__make %{?jobs:-j%jobs} V=1 %install