Don't remove SLOF for ppc64le

This commit is contained in:
eabdullin 2025-04-08 17:46:26 +03:00
parent baaa1d2a62
commit 05d29fd9d1

View File

@ -14,6 +14,31 @@ actions:
%endif
%endif
count: 1
- target: "spec"
find: |
# Provided by package SLOF
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
replace: |
# Provided by package SLOF
%ifnarch ppc64le
rm -rf %{buildroot}%{_datadir}/%{name}/slof.bin
%endif
count: 1
- target: "spec"
find: |
%ifarch x86_64
%{_libdir}/%{name}/accel-tcg-%{kvm_target}.so
%endif
replace: |
%ifarch x86_64
%{_libdir}/%{name}/accel-tcg-%{kvm_target}.so
%endif
%ifarch ppc64le
%{_datadir}/%{name}/slof.bin
%endif
count: 1
- modify_release:
- suffix: ".alma.1"
@ -24,3 +49,4 @@ actions:
email: "eabdullin@almalinux.org"
line:
- "Enable building for ppc64le"
- "Don't remove slof.bin for ppc64le"