From: Andrea Bolognani Date: Thu, 5 Jun 2025 15:58:12 +0000 (+0200) Subject: rpm: Fix/clarify Requires X-Git-Tag: v11.5.0-rc1~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d210f4bca6afbbc96b11851d9fb8f92f5adb159;p=thirdparty%2Flibvirt.git 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 Reviewed-by: Michal Privoznik --- 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