mirror of https://gitee.com/openkylin/libvirt.git
spec: Fix preun script for daemon
%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>
This commit is contained in:
parent
137d0165cd
commit
6209454d5b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue