packages: rpm-build-macros/rpm.macros - include a newline at the end of %sy...

jajcus jajcus at pld-linux.org
Sun Dec 4 21:16:32 CET 2011


Author: jajcus                       Date: Sun Dec  4 20:16:32 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- include a newline at the end of %systemd_post and %systemd_preun macros. udev-systemd is broken otherwise

---- Files affected:
packages/rpm-build-macros:
   rpm.macros (1.627 -> 1.628) 

---- Diffs:

================================================================
Index: packages/rpm-build-macros/rpm.macros
diff -u packages/rpm-build-macros/rpm.macros:1.627 packages/rpm-build-macros/rpm.macros:1.628
--- packages/rpm-build-macros/rpm.macros:1.627	Sun Dec  4 20:32:06 2011
+++ packages/rpm-build-macros/rpm.macros	Sun Dec  4 21:16:26 2011
@@ -2077,6 +2077,7 @@
 	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 @@
 		if /bin/systemd_booted; then \
 			/bin/systemctl --quiet stop %{*} || : \
 		fi \
-	fi
+	fi \
+%{nil}
 
 %systemdunitdir /lib/systemd/system
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/rpm-build-macros/rpm.macros?r1=1.627&r2=1.628&f=u



More information about the pld-cvs-commit mailing list