Replace debug_arches change with debug_package disable for riscv64

This commit is contained in:
Andrew Lukoshko 2026-02-22 20:12:25 +00:00
parent 375cf9347d
commit df88f3525f

View File

@ -14,8 +14,18 @@ actions:
%endif
count: 1
- target: "spec"
find: "%global debug_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} s390x"
replace: "%global debug_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} %{power64} s390x riscv64"
find: |
# $ fedpkg mockbuild --without slowdebug --without fastdebug
# Enable fastdebug builds by default on relevant arches.
replace: |
# $ fedpkg mockbuild --without slowdebug --without fastdebug
%ifarch riscv64
%define debug_package %{nil}
%endif
# Enable fastdebug builds by default on relevant arches.
count: 1
- modify_release:
@ -27,4 +37,4 @@ actions:
email: "alukoshko@almalinux.org"
line:
- "Use el8 portable packages, el10 for riscv64"
- "Add riscv64 to debug_arches"
- "Disable debug_package for riscv64"