aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2012-09-24 12:41:56 +0800
committerDaniel Veillard <veillard@redhat.com>2012-09-24 12:46:37 +0800
commit72c1632d90441a396db78ba243f58cdb2733bb52 (patch)
treea1c1e8599dfebbf6b21d31c975daca05fdaeb297
parentFix an rpmbuild failure (diff)
downloadlibvirt-72c1632d90441a396db78ba243f58cdb2733bb52.tar.gz
libvirt-72c1632d90441a396db78ba243f58cdb2733bb52.tar.bz2
libvirt-72c1632d90441a396db78ba243f58cdb2733bb52.zip
Fix another rpmbuild failure
without systemd we should not try to package the non-installed %{_sysconfdir}/rc.d/init.d/libvirtd
-rw-r--r--libvirt.spec.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libvirt.spec.in b/libvirt.spec.in
index ba49b1e74..f8ee2cbc5 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1567,9 +1567,10 @@ fi
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/nwfilter/
-%{_sysconfdir}/rc.d/init.d/libvirtd
%if %{with_systemd}
%{_unitdir}/libvirtd.service
+%else
+%{_sysconfdir}/rc.d/init.d/libvirtd
%endif
%doc daemon/libvirtd.upstart
%config(noreplace) %{_sysconfdir}/sysconfig/libvirtd