rpm: Fix/clarify Requires

daemon-common should have always depended on kmod, since
there are various situations in which a module (un)load might
be triggered by a driver.

For the util-linux dependency, we're simply adjusting the
comment to match reality.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani committed 2025-06-09 16:11:28 +02:00
1 parent 6ca627d38b
commit 9d210f4bca
1 file changed
+3 -1
+3 -1
View File
@@ -515,6 +515,8 @@ Requires: libvirt-libs = %{version}-%{release}
# Recommends here will install libvirt-client by default (if available), but
# RPM won't complain if the package is unavailable, masked, or removed later.
Recommends: libvirt-client = %{version}-%{release}
# For modprobe and rmmod
Requires: kmod
# for /sbin/ip
Requires: iproute
# for /sbin/tc
@@ -674,7 +676,7 @@ Summary: Storage driver plugin including base backends for the libvirtd daemon
Requires: libvirt-daemon-common = %{version}-%{release}
Requires: libvirt-libs = %{version}-%{release}
Recommends: nfs-utils
# For mkfs
# For mkfs and mount/umount
Requires: util-linux
# For storage wiping with different algorithms
Requires: scrub