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"