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(a)redhat.com>
---
libvirt.spec.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index fd1e2d28c0..f6ce2caff5 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -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
--
2.49.0