From eb131d30d6c7ae41263368d75855f66633617288 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Thu, 30 Nov 2023 18:22:54 +0100 Subject: [PATCH] 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 --- libvirt.spec.in | 2 ++ 1 file changed, 2 insertions(+) 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