]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: Fix/clarify Requires
authorAndrea Bolognani <abologna@redhat.com>
Thu, 5 Jun 2025 15:58:12 +0000 (17:58 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 9 Jun 2025 14:11:28 +0000 (16:11 +0200)
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>
libvirt.spec.in

index fd1e2d28c051c5cb99d12a7fd6cda682631c9b4d..f6ce2caff5c9f33d97e6e2bbd4af7f972997507c 100644 (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