From: Daniel Veillard Date: Mon, 24 Sep 2012 04:41:56 +0000 (+0800) Subject: Fix another rpmbuild failure X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=72c1632d90441a396db78ba243f58cdb2733bb52;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git Fix another rpmbuild failure without systemd we should not try to package the non-installed %{_sysconfdir}/rc.d/init.d/libvirtd --- 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