diff --git a/SPECS/java-21-openjdk.spec b/SPECS/java-21-openjdk.spec index 606a4ed..52756b0 100644 --- a/SPECS/java-21-openjdk.spec +++ b/SPECS/java-21-openjdk.spec @@ -375,6 +375,10 @@ %else %global portablesuffix el9 %endif + +%if 0%{?almalinux} +%global portablesuffix el8 +%endif %global portablebuilddir /builddir/build/BUILD # Priority must be 8 digits in total; up to openjdk 1.8, we were using 18..... so when we moved to 11, we had to add another digit @@ -1289,7 +1293,7 @@ ExclusiveArch: %{aarch64} %{ppc64le} s390x x86_64 Name: java-%{javaver}-%{origin} Version: %{newjavaver}.%{buildver} -Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist} +Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}.alma.1 # Equivalent for the portable build %global prelease %{?eaprefix}%{portablerelease}%{?extraver} # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons @@ -2561,6 +2565,9 @@ cjc.mainProgram(args) %endif %changelog +* Tue Mar 11 2025 Eduard Abdullin - 1:21.0.6.0.7-2.alma.1 +- Set portablesuffix to el8 + * Thu Feb 06 2025 Andrew Hughes - 1:21.0.6.0.7-2 - Bump tzdata requirement to 2024b for JDK-8339637 - Resolves: RHEL-74001