actions: - replace: - target: "spec" find: | ExclusiveArch: x86_64 Requires: %{name}-bin = %{version}-%{release} replace: | ExclusiveArch: x86_64 %if 0%{?almalinux} > 8 ExclusiveArch: x86_64 %{power64} %endif Requires: %{name}-bin = %{version}-%{release} count: 1 - target: "spec" find: | %build %define _lto_cflags %{nil} replace: | %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} count: 1 - target: "spec" find: "%{_datadir}/seavgabios/vgabios*.bin" replace: | %{_datadir}/seavgabios/vgabios*.bin # endif for %ifarch x86_64 %endif count: 1 - modify_release: - suffix: ".alma.1" enabled: true - changelog_entry: - name: "Eduard Abdullin" email: "eabdullin@almalinux.org" line: - "Allow the build to start on ppc64le"