]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: Add Requires on scrub
authorAndrea Bolognani <abologna@redhat.com>
Thu, 30 Nov 2023 17:22:54 +0000 (18:22 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 5 Dec 2023 10:50:45 +0000 (11:50 +0100)
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 <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
libvirt.spec.in

index b63f04263cc0986bc2e3a40d5fbb6ba6c72f170a..6f58ed38990d08e6924b85f636756dd89394b07a 100644 (file)
@@ -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