Use el8 portable packages, el10 for riscv64

Disable debug_package for riscv64
This commit is contained in:
Andrew Lukoshko 2026-08-26 08:43:05 +00:00 committed by root
parent 826b7fbc95
commit 036f3a0a33

View File

@ -53,7 +53,7 @@
Name: %{compatiblename}
Version: %{newjavaver}.%{buildver}
Release: %{?eaprefix}%{portablerelease}.%{rpmrelease}%{?extraver}%{?dist}.alma.1
Release: %{?eaprefix}%{portablerelease}.%{rpmrelease}%{?extraver}%{?dist}.alma.2
%global fullversion %{compatiblename}-%{version}-%{release}
@ -108,6 +108,7 @@ URL: http://openjdk.java.net/
%global portablerhel 9
%endif
%global portablebuilddir /builddir/build/BUILD
%global portablesuffix el%{portablerhel}
%if 0%{?almalinux}
%ifarch riscv64
@ -116,7 +117,6 @@ URL: http://openjdk.java.net/
%global portablesuffix el8
%endif
%endif
%global portablesuffix el%{portablerhel}
# RPM conditionals so as to be able to dynamically produce
# slowdebug/release builds. See:
@ -2482,7 +2482,7 @@ exit 0
%endif
%changelog
* Tue Aug 25 2026 Andrew Lukoshko <alukoshko@almalinux.org> - 1:21.0.12.1.1-2.1.alma.1
* Wed Aug 26 2026 Andrew Lukoshko <alukoshko@almalinux.org> - 1:21.0.12.1.1-2.1.alma.2
- Use el8 portable packages, el10 for riscv64
- Disable debug_package for riscv64