56 lines
1.6 KiB
YAML
56 lines
1.6 KiB
YAML
actions:
|
|
- replace:
|
|
- target: "spec"
|
|
find: |
|
|
ExclusiveArch: x86_64
|
|
|
|
Requires: %{name}-bin = %{version}-%{release}
|
|
replace: |
|
|
ExclusiveArch: x86_64
|
|
|
|
%if 0%{?almalinux} > 9
|
|
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: "%global vgaconfigs cirrus stdvga virtio ramfb bochs-display"
|
|
replace: "%global vgaconfigs cirrus qxl stdvga virtio ramfb bochs-display"
|
|
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:
|
|
- "Ship vgabios-qxl.bin"
|
|
- "Allow the build to start on ppc64le"
|
|
|
|
- add_files:
|
|
- type: "source"
|
|
name: "config.vga-qxl"
|
|
number: 12
|