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 <abologna@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Andrea Bolognani 2023-11-30 18:22:54 +01:00
parent 6aa2fa38b0
commit eb131d30d6

View 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