aff97e
From 3dfb3db2950f57f2a2e0330cd480d7880d314729 Mon Sep 17 00:00:00 2001
622cf0
From: Jiri Denemark <jdenemar@redhat.com>
622cf0
Date: Wed, 3 Sep 2014 10:51:14 +0200
622cf0
Subject: [PATCH] spec: Fix preun script for daemon
622cf0
622cf0
%systemd_preun macro cannot be split into several lines.
622cf0
622cf0
https://bugzilla.redhat.com/show_bug.cgi?id=1136736
622cf0
622cf0
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
622cf0
(cherry picked from commit 6209454d5b10c2d89faab8a56b250f1569d823fe)
622cf0
---
622cf0
 libvirt.spec.in | 6 +-----
622cf0
 1 file changed, 1 insertion(+), 5 deletions(-)
622cf0
622cf0
diff --git a/libvirt.spec.in b/libvirt.spec.in
aff97e
index 0741c73..f408c64 100644
622cf0
--- a/libvirt.spec.in
622cf0
+++ b/libvirt.spec.in
aff97e
@@ -1677,11 +1677,7 @@ fi
622cf0
 %preun daemon
622cf0
     %if %{with_systemd}
622cf0
         %if %{with_systemd_macros}
622cf0
-            %systemd_preun \
622cf0
-                libvirtd.socket \
622cf0
-                libvirtd.service \
622cf0
-                virtlockd.socket \
622cf0
-                virtlockd.service
622cf0
+            %systemd_preun libvirtd.socket libvirtd.service virtlockd.socket virtlockd.service
622cf0
         %else
622cf0
 if [ $1 -eq 0 ] ; then
622cf0
     # Package removal, not upgrade