60 lines
1.6 KiB
YAML
60 lines
1.6 KiB
YAML
actions:
|
|
- replace:
|
|
- target: "spec"
|
|
find: "%bcond_without testsuite"
|
|
replace: |
|
|
%bcond_without testsuite
|
|
%ifarch riscv64
|
|
%bcond_with testsuite
|
|
%endif
|
|
count: 1
|
|
- target: "spec"
|
|
find: |
|
|
%if %{with debuginfod}
|
|
BuildRequires: elfutils-debuginfod-client-devel
|
|
%endif
|
|
|
|
Requires(post): %{_sbindir}/alternatives
|
|
replace: |
|
|
%if %{with debuginfod}
|
|
BuildRequires: elfutils-debuginfod-client-devel
|
|
%endif
|
|
|
|
%ifarch riscv64
|
|
BuildRequires: bison
|
|
%endif
|
|
|
|
Requires(post): %{_sbindir}/alternatives
|
|
count: 1
|
|
- target: "spec"
|
|
find: |
|
|
%ifarch %{arm}
|
|
%define enable_lto 0
|
|
%endif
|
|
replace: |
|
|
%ifarch %{arm}
|
|
%define enable_lto 0
|
|
%endif
|
|
%ifarch riscv64
|
|
%define enable_lto 0
|
|
%endif
|
|
count: 1
|
|
|
|
- modify_release:
|
|
- suffix: ".alma.1"
|
|
enabled: true
|
|
|
|
- changelog_entry:
|
|
- name: "Andrew Lukoshko"
|
|
email: "alukoshko@almalinux.org"
|
|
line:
|
|
- "Add bison to BuildRequires for RISC-V"
|
|
- "Disable LTO for RISC-V"
|
|
- "Disable testsuite for RISC-V"
|
|
- "Add basic support for RISC-V 64-bit EFI objects (backported from 2.44)"
|
|
|
|
- add_files:
|
|
- type: "patch"
|
|
name: "0001-Add-basic-support-for-RISC-V-64-bit-EFI-objects.patch"
|
|
number: 100
|