qemu-kvm/config.yaml
2025-04-08 17:57:50 +03:00

53 lines
1.4 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
- 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"