From: Andrea Bolognani Date: Thu, 30 Nov 2023 17:22:54 +0000 (+0100) Subject: rpm: Add Requires on scrub X-Git-Tag: v10.0.0-rc1~132 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb131d30d6c7ae41263368d75855f66633617288;p=thirdparty%2Flibvirt.git rpm: Add Requires on scrub We currently have a BuildDepends on it, which doesn't help ensuring that the tool is available at runtime, when the storage driver might need to spawn it. Signed-off-by: Andrea Bolognani Reviewed-by: Pavel Hrdina --- diff --git a/libvirt.spec.in b/libvirt.spec.in index b63f04263c..6f58ed3899 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -646,6 +646,8 @@ Requires: libvirt-libs = %{version}-%{release} Requires: nfs-utils # For mkfs Requires: util-linux +# For storage wiping with different algorithms +Requires: scrub %if %{with_qemu} # From QEMU RPMs Requires: /usr/bin/qemu-img