diff --git a/seabios.spec b/seabios.spec index bd4add8..acc8497 100644 --- a/seabios.spec +++ b/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 - 1.16.3-4.alma.1 +- Allow the build to start on ppc64le + * Mon Jun 24 2024 Troy Dawson - 1.16.3-4 - Bump release for June 2024 mass rebuild