57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
actions:
|
|
- replace:
|
|
- target: "spec"
|
|
find: |
|
|
%global tools_only 0
|
|
%ifarch %{power64}
|
|
%global tools_only 1
|
|
%endif
|
|
replace: |
|
|
%global tools_only 0
|
|
%if 0%{?almalinux} < 9
|
|
%ifarch %{power64}
|
|
%global tools_only 1
|
|
%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
|
|
- add_files:
|
|
- type: "patch"
|
|
name: "0001-Bring-back-missing-line-in-target-ppc-cpu-models.patch"
|
|
number: "Latest"
|
|
|
|
- modify_release:
|
|
- suffix: ".alma.1"
|
|
enabled: true
|
|
|
|
- changelog_entry:
|
|
- name: "Eduard Abdullin"
|
|
email: "eabdullin@almalinux.org"
|
|
line:
|
|
- "Enable building for ppc64le"
|
|
- "Don't remove slof.bin for ppc64le"
|