mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-09 13:11:36 +00:00
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> (cherry picked from commit 6209454d5b10c2d89faab8a56b250f1569d823fe)
This commit is contained in:
parent
2097f7df5f
commit
4537f84b4b
@ -1677,11 +1677,7 @@ fi
|
|||||||
%preun daemon
|
%preun daemon
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%if %{with_systemd_macros}
|
%if %{with_systemd_macros}
|
||||||
%systemd_preun \
|
%systemd_preun libvirtd.socket libvirtd.service virtlockd.socket virtlockd.service
|
||||||
libvirtd.socket \
|
|
||||||
libvirtd.service \
|
|
||||||
virtlockd.socket \
|
|
||||||
virtlockd.service
|
|
||||||
%else
|
%else
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
# Package removal, not upgrade
|
# Package removal, not upgrade
|
||||||
|
Loading…
x
Reference in New Issue
Block a user