]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpm: Explain BuildRequires on qemu-img
authorAndrea Bolognani <abologna@redhat.com>
Fri, 5 May 2023 17:42:59 +0000 (19:42 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 22 May 2023 13:12:29 +0000 (15:12 +0200)
It's not used as part of the build process or searched for at
build time, and the QEMU driver detects its path at runtime,
so one could think that the BuildRequires is unnecessary. But
we actually need it to be present at build time in order to
run the full test suite.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
libvirt.spec.in

index c542ec3b2bb80a9a26063407ab979523b3815ca7..1f77cd90b772c11365ee092170081bb1b3282839 100644 (file)
@@ -310,7 +310,7 @@ BuildRequires: util-linux
 %if %{with_qemu}
 # For managing ACLs
 BuildRequires: libacl-devel
-# From QEMU RPMs
+# From QEMU RPMs, used by virstoragetest
 BuildRequires: /usr/bin/qemu-img
 %endif
 # For LVM drivers