From: Peter Krempa Date: Mon, 2 Sep 2024 12:28:52 +0000 (+0200) Subject: spec: Demote 'nfs-utils' as a weak dependency of 'daemon-driver-storage-core' X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=d02a77c2ff0a1fe8afb0d786e4ee432035347527;p=libvirt.git spec: Demote 'nfs-utils' as a weak dependency of 'daemon-driver-storage-core' The 'nfs-utils' package provides 'showmount' used to detect NFS-based storage pool sources. As the lookup of storage pool sources can fail gracefully and does so e.g. if the gluster backend is not installed we can do the same for NFS. Apart from allowing a tighter footprint when installing libvirt, this also allows installation of the storage driver core in cases when a security policy prohibits use of NFS. Resolves: https://issues.redhat.com/browse/RHEL-56611 Signed-off-by: Peter Krempa Reviewed-by: Pavel Hrdina --- diff --git a/libvirt.spec.in b/libvirt.spec.in index 83867010f0..4dec7ace6f 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -667,7 +667,7 @@ an implementation of the secret key APIs. Summary: Storage driver plugin including base backends for the libvirtd daemon Requires: libvirt-daemon-common = %{version}-%{release} Requires: libvirt-libs = %{version}-%{release} -Requires: nfs-utils +Recommends: nfs-utils # For mkfs Requires: util-linux # For storage wiping with different algorithms