- Enable building for ppc64le
This commit is contained in:
parent
b5d774947b
commit
90c3abb7d2
15
seabios.spec
15
seabios.spec
@ -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: LGPL-3.0-only
|
||||
@ -25,6 +25,10 @@ BuildRequires: python3 iasl
|
||||
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
%if 0%{?almalinux} > 9
|
||||
ExclusiveArch: x86_64 %{power64}
|
||||
%endif
|
||||
|
||||
Requires: %{name}-bin = %{version}-%{release}
|
||||
Requires: seavgabios-bin = %{version}-%{release}
|
||||
|
||||
@ -74,6 +78,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
|
||||
@ -133,7 +140,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 Sep 06 2024 Eduard Abdullin <eabdullin@almalinux.org> - 1.16.3-4.alma.1
|
||||
- Allow the build to start on ppc64le
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.16.3-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user