From: Daniel P. Berrange Date: Tue, 12 Jul 2016 14:57:39 +0000 (+0100) Subject: libvirt.spec.in: require systemd-container on >= f24 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4d0b3d5c0f5dccbd31eacbfabaca6771a2c4bfc;p=thirdparty%2Flibvirt.git libvirt.spec.in: require systemd-container on >= f24 The systemd-machined tools libvirt uses were split into a systemd-container RPM. Without depending on this, libvirt may silently fallback to the non-systemd cgroup impl which is not desirable. Signed-off-by: Daniel P. Berrange (cherry picked from commit ffc49e579c14b1d3f24af8d004ded6e3a0e8900f) --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 935ca89b22..9ef4641dcf 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -926,6 +926,9 @@ Requires: gzip Requires: bzip2 Requires: lzop Requires: xz +%if 0%{?fedora} >= 24 +Requires: systemd-container +%endif %description daemon-driver-qemu The qemu driver plugin for the libvirtd daemon, providing @@ -941,6 +944,9 @@ Group: Development/Libraries Requires: libvirt-daemon = %{version}-%{release} # There really is a hard cross-driver dependency here Requires: libvirt-daemon-driver-network = %{version}-%{release} +%if 0%{?fedora} >= 24 +Requires: systemd-container +%endif %description daemon-driver-lxc The LXC driver plugin for the libvirtd daemon, providing