From 732407b495eabaad3cbe7d7f9ca40be50d9f81ee Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sun, 4 Dec 2011 20:16:26 +0000 Subject: [PATCH] - include a newline at the end of %systemd_post and %systemd_preun macros. udev-systemd is broken otherwise Changed files: rpm.macros -> 1.628 --- rpm.macros | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.44.0