Hello community, here is the log from the commit of package system-config-printer for openSUSE:12.2 checked in at 2012-07-22 15:26:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.2/system-config-printer (Old) and /work/SRC/openSUSE:12.2/.system-config-printer.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "system-config-printer", Maintainer is "gnome-maintain...@suse.de" Changes: -------- --- /work/SRC/openSUSE:12.2/system-config-printer/system-config-printer.changes 2012-06-25 15:54:39.000000000 +0200 +++ /work/SRC/openSUSE:12.2/.system-config-printer.new/system-config-printer.changes 2012-07-22 15:26:38.000000000 +0200 @@ -1,0 +2,10 @@ +Fri Jul 20 17:58:29 UTC 2012 - dims...@opensuse.org + +- Pass --with-systemdsystemunitdir=%{_unitdir} to configure to + have the systemd service files installed +- Add systemd BuildRequires in order to have the %{_unitdir} macro + defined +- Drop pxz BuildRequires, as it now comes for free with the build + system. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ system-config-printer.spec ++++++ --- /var/tmp/diff_new_pack.wqFdNH/_old 2012-07-22 15:26:39.000000000 +0200 +++ /var/tmp/diff_new_pack.wqFdNH/_new 2012-07-22 15:26:39.000000000 +0200 @@ -44,10 +44,9 @@ BuildRequires: libusb-compat-devel BuildRequires: python-devel BuildRequires: python-xml +BuildRequires: systemd BuildRequires: update-desktop-files BuildRequires: xmlto -# Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 -BuildRequires: xz Requires: %{name}-common = %{version} Requires: cups # The applet is not strictly necessary, but it really makes sense @@ -131,6 +130,7 @@ Requires: python-cups >= 1.9.60 Requires: python-cupshelpers Recommends: %{name}-applet +%systemd_requires %py_requires %description -n udev-configure-printer @@ -145,7 +145,8 @@ %build %configure \ - --with-udev-rules + --with-udev-rules \ + --with-systemdsystemunitdir=%{_unitdir} %install %makeinstall udevrulesdir=/lib/udev/rules.d udevhelperdir=/lib/udev @@ -171,6 +172,18 @@ %desktop_database_postun %icon_theme_cache_postun +%pre -n udev-configure-printer +%service_add_pre demo.service udev-configure-printer.service + +%post -n udev-configure-printer +%service_add_post demo.service udev-configure-printer.service + +%preun -n udev-configure-printer +%service_del_preun udev-configure-printer.service + +%postun -n udev-configure-printer +%service_del_postun udev-configure-printer.service + %files %defattr(-,root,root,-) %doc ChangeLog COPYING README @@ -209,6 +222,7 @@ %files -n udev-configure-printer %defattr(-,root,root,-) +%{_unitdir}/udev-configure-printer.service %dir /lib/udev %dir /lib/udev/rules.d /lib/udev/rules.d/*.rules -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org