Hello community, here is the log from the commit of package systemd-rpm-macros for openSUSE:Factory checked in at 2014-10-19 19:27:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/systemd-rpm-macros (Old) and /work/SRC/openSUSE:Factory/.systemd-rpm-macros.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "systemd-rpm-macros" Changes: -------- --- /work/SRC/openSUSE:Factory/systemd-rpm-macros/systemd-rpm-macros.changes 2014-04-06 09:54:00.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.systemd-rpm-macros.new/systemd-rpm-macros.changes 2014-10-19 19:27:25.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Oct 15 09:28:36 UTC 2014 - thomas.bl...@suse.com + +- make systemd aware of changed unit file content after update + add systemd-daemon-reload-before-service-restart.patch + +------------------------------------------------------------------- New: ---- systemd-daemon-reload-before-service-restart.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ systemd-rpm-macros.spec ++++++ --- /var/tmp/diff_new_pack.QYfNW2/_old 2014-10-19 19:27:25.000000000 +0200 +++ /var/tmp/diff_new_pack.QYfNW2/_new 2014-10-19 19:27:25.000000000 +0200 @@ -29,12 +29,16 @@ Requires: coreutils BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +# make systemd aware of changed unit file content after update +Patch0: systemd-daemon-reload-before-service-restart.patch %description Starting with openSUSE 12.1, several RPM macros must be used to package systemd services files. This package provides these macros. %prep +cd %{_sourcedir} +%patch0 -p1 %build ++++++ systemd-daemon-reload-before-service-restart.patch ++++++ diff -Naur orig/macros.systemd mod/macros.systemd --- orig/macros.systemd 2014-10-14 08:54:56.264889350 +0200 +++ mod/macros.systemd 2014-10-15 13:10:43.134133358 +0200 @@ -108,6 +108,7 @@ if [ $FIRST_ARG -ge 1 ]; then \ # Package upgrade, not uninstall \ if test "$YAST_IS_RUNNING" != "instsys" -a "$DISABLE_RESTART_ON_UPDATE" != yes ; then \ + /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : \ /usr/bin/systemctl try-restart %{?*} >/dev/null 2>&1 || : \ fi \ else # package uninstall \ -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org