diff options
author | Daniel Veillard <veillard@redhat.com> | 2012-09-24 12:41:56 +0800 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2012-09-24 12:46:37 +0800 |
commit | 72c1632d90441a396db78ba243f58cdb2733bb52 (patch) | |
tree | a1c1e8599dfebbf6b21d31c975daca05fdaeb297 | |
parent | Fix an rpmbuild failure (diff) | |
download | libvirt-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.in | 3 |
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 |