]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
Fix another rpmbuild failure
authorDaniel Veillard <veillard@redhat.com>
Mon, 24 Sep 2012 04:41:56 +0000 (12:41 +0800)
committerDaniel Veillard <veillard@redhat.com>
Mon, 24 Sep 2012 04:46:37 +0000 (12:46 +0800)
without systemd we should not try to package the non-installed
%{_sysconfdir}/rc.d/init.d/libvirtd

libvirt.spec.in

index ba49b1e7441b20d83369f3de2e89ccb33e9aeda4..f8ee2cbc5037fcfb4b6cf351eb509a3a15189ce6 100644 (file)
@@ -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