]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Fix preun script for daemon
authorJiri Denemark <jdenemar@redhat.com>
Wed, 3 Sep 2014 08:51:14 +0000 (10:51 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 3 Sep 2014 09:56:38 +0000 (11:56 +0200)
%systemd_preun macro cannot be split into several lines.

https://bugzilla.redhat.com/show_bug.cgi?id=1136736

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
libvirt.spec.in

index 4dc801ba29309990ce164e43b2fb2b08e001da0f..4756d7d09f0c8ff2d3702dce76cca3ad5bce7b95 100644 (file)
@@ -1677,11 +1677,7 @@ fi
 %preun daemon
     %if %{with_systemd}
         %if %{with_systemd_macros}
-            %systemd_preun \
-                libvirtd.socket \
-                libvirtd.service \
-                virtlockd.socket \
-                virtlockd.service
+            %systemd_preun libvirtd.socket libvirtd.service virtlockd.socket virtlockd.service
         %else
 if [ $1 -eq 0 ] ; then
     # Package removal, not upgrade