java-21-openjdk/config.yaml
2026-08-26 11:41:04 +03:00

42 lines
1.2 KiB
YAML

actions:
- replace:
- target: "spec"
find: "%global portablesuffix el%{portablerhel}"
replace: |
%global portablesuffix el%{portablerhel}
%if 0%{?almalinux}
%ifarch riscv64
%global portablesuffix el10
%else
%global portablesuffix el8
%endif
%endif
count: 1
- target: "spec"
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:
- suffix: ".alma.1"
enabled: true
auto_increment: true
- changelog_entry:
- name: "Andrew Lukoshko"
email: "alukoshko@almalinux.org"
line:
- "Use el8 portable packages, el10 for riscv64"
- "Disable debug_package for riscv64"