From: Daniel Veillard Date: Mon, 24 Sep 2012 04:41:56 +0000 (+0800) Subject: Fix another rpmbuild failure X-Git-Tag: v0.10.2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=72c1632d90441a396db78ba243f58cdb2733bb52;p=thirdparty%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 ba49b1e744..f8ee2cbc50 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