From: Jacek Konieczny Date: Sun, 4 Dec 2011 20:16:26 +0000 (+0000) Subject: - include a newline at the end of %systemd_post and %systemd_preun macros. udev-syste... X-Git-Tag: auto/th/rpm-build-macros-1_628-1~1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=732407b495eabaad3cbe7d7f9ca40be50d9f81ee;p=packages%2Frpm-pld-macros.git - include a newline at the end of %systemd_post and %systemd_preun macros. udev-systemd is broken otherwise Changed files: rpm.macros -> 1.628 --- diff --git a/rpm.macros b/rpm.macros index 9e895b4..d4c3c58 100644 --- a/rpm.macros +++ b/rpm.macros @@ -2077,6 +2077,7 @@ else: \ if [ $1 -gt 1 ] && [ -z "$NORESTART" ]; then \ /bin/systemctl --quiet try-restart %{*} || : \ fi \ +%{nil} %systemd_preun() \ if [ $1 -eq 0 ]; then \ @@ -2085,7 +2086,8 @@ else: \ if /bin/systemd_booted; then \ /bin/systemctl --quiet stop %{*} || : \ fi \ - fi + fi \ +%{nil} %systemdunitdir /lib/systemd/system