binutils/config.yaml

64 lines
1.8 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
auto_increment: 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"
- name: "Eduard Abdullin"
email: "eabdullin@almalinux.org"
line:
- "Fix R_386_GOT32X relaxation of push sym@GOT(%reg) on i686, backport of upstream 11c2852449825a5f486f63bc40aabed56b7c04c1 limited to bfd/elf32-i386.c"
- add_files:
- type: "patch"
name: "0001-x86-widen-got-pcrel-support-to-PUSH-and-APX-IMUL.patch"
number: 9001