From: Jim Fehlig Date: Tue, 20 Dec 2022 04:18:26 +0000 (-0700) Subject: spec: Add numad dependency to qemu and lxc drivers X-Git-Tag: v9.1.0-rc1~236 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02baad4b9339b406d7cf4b3b95d76a9e2c7dfa4c;p=thirdparty%2Flibvirt.git spec: Add numad dependency to qemu and lxc drivers Both drivers use numad via virNumaGetAutoPlacementAdvice. Drop the numad dependency from libvirt-daemon-common to avoid enforcing it all users of the subpackage. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrangé Reviewed-by: Andrea Bolognani --- diff --git a/libvirt.spec.in b/libvirt.spec.in index fb42656adb..04fd152327 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -462,9 +462,6 @@ Requires: dmidecode %endif # For service management Requires(post): /usr/bin/systemctl -%if %{with_numad} -Requires: numad -%endif # libvirtd depends on 'messagebus' service Requires: dbus # For uid creation during pre @@ -764,6 +761,9 @@ Requires: lzop Requires: xz Requires: systemd-container Requires: swtpm-tools + %if %{with_numad} +Requires: numad + %endif %if (0%{?fedora} >= 36) || (0%{?rhel} >= 9) Recommends: passt %endif @@ -784,6 +784,9 @@ Requires: libvirt-daemon-driver-network = %{version}-%{release} Requires: systemd-container # for modprobe of nbd driver Requires: module-init-tools + %if %{with_numad} +Requires: numad + %endif %description daemon-driver-lxc The LXC driver plugin for the libvirtd daemon, providing