render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
3ec523
From abb9c206877a937c2a509ec534c190b27c0b0e55 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
622cf0
index 7d8748d..6129f00 100644
622cf0
--- a/libvirt.spec.in
622cf0
+++ b/libvirt.spec.in
622cf0
@@ -1680,11 +1680,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