Allow the build to start on ppc64le
This commit is contained in:
parent
fdc30f0e1e
commit
1a679dcc6c
@ -1,6 +1,6 @@
|
||||
Name: seabios
|
||||
Version: 1.16.3
|
||||
Release: 4%{?dist}
|
||||
Release: 4%{?dist}.alma.1
|
||||
Summary: Open-source legacy BIOS implementation
|
||||
|
||||
License: LGPLv3
|
||||
@ -28,6 +28,10 @@ BuildRequires: python3
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%if 0%{?almalinux} > 8
|
||||
ExclusiveArch: x86_64 %{power64}
|
||||
%endif
|
||||
|
||||
Requires: %{name}-bin = %{version}-%{release}
|
||||
Requires: seavgabios-bin = %{version}-%{release}
|
||||
|
||||
@ -77,6 +81,9 @@ SeaVGABIOS is an open-source VGABIOS implementation.
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
# This ifarch is needed to start the build on ppc64le and finish it with 0 exit code
|
||||
# to synchronize noarch packages between x86_64 and ppc64le
|
||||
%ifarch x86_64
|
||||
%define _lto_cflags %{nil}
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
mkdir binaries
|
||||
@ -136,7 +143,13 @@ install -m 0644 binaries/vgabios*.bin $RPM_BUILD_ROOT%{_datadir}/seavgabios
|
||||
%dir %{_datadir}/seavgabios/
|
||||
%{_datadir}/seavgabios/vgabios*.bin
|
||||
|
||||
# endif for %ifarch x86_64
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Apr 11 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.16.3-4.alma.1
|
||||
- Allow the build to start on ppc64le
|
||||
|
||||
* Thu Nov 28 2024 Miroslav Rezanina <mrezanin@redhat.com> - 1.16.3-4
|
||||
- seabios-Remove-iasl-from-BuildRequires.patch [RHEL-39020]
|
||||
- Resolves: RHEL-39020
|
||||
|
Loading…
Reference in New Issue
Block a user