[libvirt PATCH] rpm: Don't require qemu-img at build time

Andrea Bolognani abologna at redhat.com
Fri May 5 18:05:05 UTC 2023


It's not used as part of the build process or even searched for
at build time. The QEMU driver detects its path at runtime.

Signed-off-by: Andrea Bolognani <abologna at redhat.com>
---
 libvirt.spec.in | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index c542ec3b2b..69cafc8b91 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -310,8 +310,6 @@ BuildRequires: util-linux
 %if %{with_qemu}
 # For managing ACLs
 BuildRequires: libacl-devel
-# From QEMU RPMs
-BuildRequires: /usr/bin/qemu-img
 %endif
 # For LVM drivers
 BuildRequires: lvm2
-- 
2.40.1



More information about the libvir-list mailing list