From 72d1e2e1de8ad0802e39a83d2c0c663db1aca47c Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Tue, 25 Jul 2023 23:20:12 -0400 Subject: [PATCH] Use qemu-kvm in ELN builds ELN now has a RHEL-like qemu-kvm, and needs to be handled accordingly. --- libguestfs.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libguestfs.spec b/libguestfs.spec index 89ceb7a..46c4fb6 100644 --- a/libguestfs.spec +++ b/libguestfs.spec @@ -50,7 +50,7 @@ Summary: Access and modify virtual machine disk images Name: libguestfs Epoch: 1 Version: 1.51.6 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPL-2.1-or-later # Build only for architectures that have a kernel @@ -732,7 +732,7 @@ else fi %{configure} \ -%if 0%{?rhel} && !0%{?eln} +%if 0%{?rhel} QEMU=%{_libexecdir}/qemu-kvm \ %endif PYTHON=%{__python3} \ @@ -743,7 +743,7 @@ fi %else --with-extra="rhel=%{rhel},release=%{release},libvirt" \ %endif -%if 0%{?rhel} && !0%{?eln} +%if 0%{?rhel} --with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \ %endif %ifnarch %{golang_arches} @@ -1093,6 +1093,9 @@ rm ocaml/html/.gitignore %changelog +* Wed Jul 26 2023 Yaakov Selkowitz - 1:1.51.6-2 +- Use qemu-kvm in ELN builds + * Thu Jul 20 2023 Richard W.M. Jones - 1:1.51.6-1 - New upstream development branch 1.51.6