Hello community,

here is the log from the commit of package accountsservice for openSUSE:Factory 
checked in at 2012-02-29 14:05:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/accountsservice (Old)
 and      /work/SRC/openSUSE:Factory/.accountsservice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "accountsservice", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/accountsservice/accountsservice.changes  
2012-01-05 19:09:49.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.accountsservice.new/accountsservice.changes     
2012-02-29 14:05:31.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Feb 27 13:21:43 UTC 2012 - [email protected]
+
+- Fix systemd-related packaging:
+  + Use %{?systemd_requires}.
+  + Call %service_{add,del}_* macros in scriptlets for
+    accounts-daemon.service.
+- Remove xz BuildRequires now that it comes for free in the build
+  system.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ accountsservice.spec ++++++
--- /var/tmp/diff_new_pack.elj5FU/_old  2012-02-29 14:05:36.000000000 +0100
+++ /var/tmp/diff_new_pack.elj5FU/_new  2012-02-29 14:05:36.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package accountsservice
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,14 +31,13 @@
 BuildRequires:  gnome-common
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool
-# Only needed because we don't (and won't) support building xz tarballs by 
default... See bnc#697467
-BuildRequires:  xz
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(polkit-gobject-1)
 BuildRequires:  pkgconfig(systemd)
 Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
 
 %description
 The accountsservice server provides a set of D-Bus interfaces for
@@ -100,6 +99,18 @@
 %clean
 rm -rf %{buildroot}
 
+%pre
+%service_add_pre accounts-daemon.service
+
+%post
+%service_add_post accounts-daemon.service
+
+%preun
+%service_del_preun accounts-daemon.service
+
+%postun
+%service_del_postun accounts-daemon.service
+
 %post -n libaccountsservice0 -p /sbin/ldconfig
 
 %postun -n libaccountsservice0 -p /sbin/ldconfig
@@ -107,7 +118,7 @@
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README
-/lib/systemd/system/accounts-daemon.service
+%{_unitdir}/accounts-daemon.service
 %{_sysconfdir}/dbus-1/system.d/org.freedesktop.Accounts.conf
 %{_libexecdir}/accounts-daemon
 %{_datadir}/dbus-1/interfaces/org.freedesktop.Accounts.xml


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to