java-21-openjdk/config.yaml

41 lines
1.2 KiB
YAML

actions:
- replace:
- target: "spec"
find: "%global portablebuilddir /builddir/build/BUILD"
replace: |
%global portablebuilddir /builddir/build/BUILD
%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
- changelog_entry:
- name: "Andrew Lukoshko"
email: "alukoshko@almalinux.org"
line:
- "Use el8 portable packages, el10 for riscv64"
- "Disable debug_package for riscv64"