Fix systemd macro argument with line continuations (rhbz#1558648)
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
1ae6f647b7
commit
e7a3ca6f6b
17
libvirt.spec
17
libvirt.spec
@ -247,7 +247,7 @@
|
|||||||
Summary: Library providing a simple virtualization API
|
Summary: Library providing a simple virtualization API
|
||||||
Name: libvirt
|
Name: libvirt
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 1%{?dist}%{?extra_release}
|
Release: 2%{?dist}%{?extra_release}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||||
@ -1520,9 +1520,9 @@ exit 0
|
|||||||
|
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%if %{with_systemd_macros}
|
%if %{with_systemd_macros}
|
||||||
%systemd_post virtlockd.socket virtlockd-admin.socket \
|
%systemd_post virtlockd.socket virtlockd-admin.socket
|
||||||
virtlogd.socket virtlogd-admin.socket \
|
%systemd_post virtlogd.socket virtlogd-admin.socket
|
||||||
libvirtd.service
|
%systemd_post libvirtd.service
|
||||||
%else
|
%else
|
||||||
if [ $1 -eq 1 ] ; then
|
if [ $1 -eq 1 ] ; then
|
||||||
# Initial installation
|
# Initial installation
|
||||||
@ -1557,9 +1557,9 @@ touch %{_localstatedir}/lib/rpm-state/libvirt/restart || :
|
|||||||
%preun daemon
|
%preun daemon
|
||||||
%if %{with_systemd}
|
%if %{with_systemd}
|
||||||
%if %{with_systemd_macros}
|
%if %{with_systemd_macros}
|
||||||
%systemd_preun libvirtd.service \
|
%systemd_preun libvirtd.service
|
||||||
virtlogd.socket virtlogd-admin.socket virtlogd.service \
|
%systemd_preun virtlogd.socket virtlogd-admin.socket virtlogd.service
|
||||||
virtlockd.socket virtlockd-admin.socket virtlockd.service
|
%systemd_preun virtlockd.socket virtlockd-admin.socket virtlockd.service
|
||||||
%else
|
%else
|
||||||
if [ $1 -eq 0 ] ; then
|
if [ $1 -eq 0 ] ; then
|
||||||
# Package removal, not upgrade
|
# Package removal, not upgrade
|
||||||
@ -2193,6 +2193,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 21 2018 Daniel P. Berrangé <berrange@redhat.com> - 4.1.0-2
|
||||||
|
- Fix systemd macro argument with line continuations (rhbz#1558648)
|
||||||
|
|
||||||
* Mon Mar 5 2018 Daniel Berrange <berrange@redhat.com> - 4.1.0-1
|
* Mon Mar 5 2018 Daniel Berrange <berrange@redhat.com> - 4.1.0-1
|
||||||
- Rebase to version 4.1.0
|
- Rebase to version 4.1.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user