- spec: Use qemu-kvm instead of qemu (bcl@redhat.com)

Resolves: RHEL-31830
This commit is contained in:
Brian C. Lane 2024-04-04 09:56:30 -07:00
parent a89d613d3c
commit 44136c9fbd
3 changed files with 12 additions and 4 deletions

1
.gitignore vendored
View File

@ -242,3 +242,4 @@
/lorax-40.4.tar.gz /lorax-40.4.tar.gz
/lorax-40.5.tar.gz /lorax-40.5.tar.gz
/lorax-40.5.1.tar.gz /lorax-40.5.1.tar.gz
/lorax-40.5.2.tar.gz

View File

@ -3,7 +3,7 @@
%define debug_package %{nil} %define debug_package %{nil}
Name: lorax Name: lorax
Version: 40.5.1 Version: 40.5.2
Release: 1%{?dist} Release: 1%{?dist}
Summary: Tool for creating the anaconda install images Summary: Tool for creating the anaconda install images
@ -92,19 +92,22 @@ Requires: lorax = %{version}-%{release}
%description docs %description docs
Includes the full html documentation for lorax, livemedia-creator, and the pylorax library. Includes the full html documentation for lorax, livemedia-creator, and the pylorax library.
# ppc64le does not include qemu-kvm, skip building lmc-virt
%ifnarch ppc64le
%package lmc-virt %package lmc-virt
Summary: livemedia-creator libvirt dependencies Summary: livemedia-creator libvirt dependencies
Requires: lorax = %{version}-%{release} Requires: lorax = %{version}-%{release}
Requires: qemu # RHEL doesn't have qemu, just qemu-kvm
Requires: qemu-kvm
# Fedora edk2 builds currently only support these arches # Fedora edk2 builds currently only support these arches
%ifarch x86_64 aarch64 %ifarch x86_64 aarch64
Requires: edk2-ovmf Requires: edk2-ovmf
%endif %endif
Recommends: qemu-kvm
%description lmc-virt %description lmc-virt
Additional dependencies required by livemedia-creator when using it with qemu. Additional dependencies required by livemedia-creator when using it with qemu.
%endif
%package lmc-novirt %package lmc-novirt
Summary: livemedia-creator no-virt dependencies Summary: livemedia-creator no-virt dependencies
@ -171,6 +174,10 @@ make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install
%{_datadir}/lorax/templates.d/* %{_datadir}/lorax/templates.d/*
%changelog %changelog
* Thu Apr 04 2024 Brian C. Lane <bcl@redhat.com> 40.5.2-1
- spec: Use qemu-kvm instead of qemu (bcl@redhat.com)
Resolves: RHEL-31830
* Wed Apr 03 2024 Brian C. Lane <bcl@redhat.com> 40.5.1-1 * Wed Apr 03 2024 Brian C. Lane <bcl@redhat.com> 40.5.1-1
- New lorax documentation - 40.5.1 (bcl@redhat.com) - New lorax documentation - 40.5.1 (bcl@redhat.com)
Resolves: RHEL-30615 Resolves: RHEL-30615

View File

@ -1 +1 @@
SHA512 (lorax-40.5.1.tar.gz) = 1dc31d1e14bc397366d27dff2900a3d8ec71b07071238396093fe86a27f2e9e2861749f960e877c44629663b95e968a0541603b116c336be2200fa5a4d0691b5 SHA512 (lorax-40.5.2.tar.gz) = 1166691248fcce597f8984150e8984fca1cf42eb9f7113b5da8f7e5db1469b41512be4990949ea08071965bfb942456d35761677132660ad61839fe0d5cea327