mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-01 20:05:46 +00:00
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 <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
a291701c87
commit
02baad4b93
@ -462,9 +462,6 @@ Requires: dmidecode
|
|||||||
%endif
|
%endif
|
||||||
# For service management
|
# For service management
|
||||||
Requires(post): /usr/bin/systemctl
|
Requires(post): /usr/bin/systemctl
|
||||||
%if %{with_numad}
|
|
||||||
Requires: numad
|
|
||||||
%endif
|
|
||||||
# libvirtd depends on 'messagebus' service
|
# libvirtd depends on 'messagebus' service
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
# For uid creation during pre
|
# For uid creation during pre
|
||||||
@ -764,6 +761,9 @@ Requires: lzop
|
|||||||
Requires: xz
|
Requires: xz
|
||||||
Requires: systemd-container
|
Requires: systemd-container
|
||||||
Requires: swtpm-tools
|
Requires: swtpm-tools
|
||||||
|
%if %{with_numad}
|
||||||
|
Requires: numad
|
||||||
|
%endif
|
||||||
%if (0%{?fedora} >= 36) || (0%{?rhel} >= 9)
|
%if (0%{?fedora} >= 36) || (0%{?rhel} >= 9)
|
||||||
Recommends: passt
|
Recommends: passt
|
||||||
%endif
|
%endif
|
||||||
@ -784,6 +784,9 @@ Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
|||||||
Requires: systemd-container
|
Requires: systemd-container
|
||||||
# for modprobe of nbd driver
|
# for modprobe of nbd driver
|
||||||
Requires: module-init-tools
|
Requires: module-init-tools
|
||||||
|
%if %{with_numad}
|
||||||
|
Requires: numad
|
||||||
|
%endif
|
||||||
|
|
||||||
%description daemon-driver-lxc
|
%description daemon-driver-lxc
|
||||||
The LXC driver plugin for the libvirtd daemon, providing
|
The LXC driver plugin for the libvirtd daemon, providing
|
||||||
|
Loading…
Reference in New Issue
Block a user