From: Daniel P. Berrange Date: Fri, 21 Sep 2012 10:24:31 +0000 (+0100) Subject: Don't install legacy initscripts at same time as systemd ones X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=49e5abb6a62616c0d4555a754e6a11e816b7d2a3;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git Don't install legacy initscripts at same time as systemd ones The Fedora policies don't want us installing the legacy initscripts in parallel with the systemd ones, so switch to only install the systemd unit Signed-off-by: Daniel P. Berrange --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 119273914..a39266376 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1217,9 +1217,7 @@ of recent versions of Linux (and other OSes). %define with_packager_version --with-packager-version="%{release}" %if %{with_systemd} -# We use 'systemd+redhat', so if someone installs upstart or -# legacy init scripts, they can still start libvirtd, etc -%define init_scripts --with-init_script=systemd+redhat +%define init_scripts --with-init_script=systemd %else %define init_scripts --with-init_script=redhat %endif