Use qemu-kvm in ELN builds
ELN now has a RHEL-like qemu-kvm, and needs to be handled accordingly.
This commit is contained in:
parent
f4541eac6e
commit
72d1e2e1de
@ -50,7 +50,7 @@ Summary: Access and modify virtual machine disk images
|
|||||||
Name: libguestfs
|
Name: libguestfs
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 1.51.6
|
Version: 1.51.6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
|
|
||||||
# Build only for architectures that have a kernel
|
# Build only for architectures that have a kernel
|
||||||
@ -732,7 +732,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%{configure} \
|
%{configure} \
|
||||||
%if 0%{?rhel} && !0%{?eln}
|
%if 0%{?rhel}
|
||||||
QEMU=%{_libexecdir}/qemu-kvm \
|
QEMU=%{_libexecdir}/qemu-kvm \
|
||||||
%endif
|
%endif
|
||||||
PYTHON=%{__python3} \
|
PYTHON=%{__python3} \
|
||||||
@ -743,7 +743,7 @@ fi
|
|||||||
%else
|
%else
|
||||||
--with-extra="rhel=%{rhel},release=%{release},libvirt" \
|
--with-extra="rhel=%{rhel},release=%{release},libvirt" \
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?rhel} && !0%{?eln}
|
%if 0%{?rhel}
|
||||||
--with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
|
--with-qemu="qemu-kvm qemu-system-%{_build_arch} qemu" \
|
||||||
%endif
|
%endif
|
||||||
%ifnarch %{golang_arches}
|
%ifnarch %{golang_arches}
|
||||||
@ -1093,6 +1093,9 @@ rm ocaml/html/.gitignore
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 26 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1:1.51.6-2
|
||||||
|
- Use qemu-kvm in ELN builds
|
||||||
|
|
||||||
* Thu Jul 20 2023 Richard W.M. Jones <rjones@redhat.com> - 1:1.51.6-1
|
* Thu Jul 20 2023 Richard W.M. Jones <rjones@redhat.com> - 1:1.51.6-1
|
||||||
- New upstream development branch 1.51.6
|
- New upstream development branch 1.51.6
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user