diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 1506789..f987011 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -377,6 +377,10 @@ %endif %global portablebuilddir /builddir/build/BUILD +%if 0%{?almalinux} +%global portablesuffix el8 +%endif + # 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 %if %is_system_jdk # Using 10 digits may overflow the int used for priority, so we combine the patch and build versions @@ -1176,7 +1180,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 @@ -2461,6 +2465,9 @@ exit 0 %endif %changelog +* Wed May 14 2025 Eduard Abdullin - 1:21.0.7.0.6-1.alma.1 +- Use el8 portable packages + * Fri Apr 11 2025 Andrew Hughes - 1:21.0.7.0.6-1 - Update to jdk-21.0.7+6 (GA) - Update release notes to 21.0.7+6