From 0105abc66f5b4cdd69af236cb3b9bb6cb073acb0 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 18 Oct 2024 08:41:12 +0300 Subject: [PATCH] - Set portablesuffix to el8 on AlmaLinux --- SPECS/java-17-openjdk.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SPECS/java-17-openjdk.spec b/SPECS/java-17-openjdk.spec index e5a2246..2738af1 100644 --- a/SPECS/java-17-openjdk.spec +++ b/SPECS/java-17-openjdk.spec @@ -392,6 +392,11 @@ %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 @@ -1258,7 +1263,7 @@ Provides: java-%{origin}-src%{?1} = %{epoch}:%{version}-%{release} 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 @@ -2496,6 +2501,9 @@ cjc.mainProgram(args) %endif %changelog +* Fri Oct 18 2024 Eduard Abdullin - 1:17.0.13.0.11-3.alma.1 +- Set portablesuffix to el8 on AlmaLinux + * Wed Oct 9 2024 Thomas Fitzsimmons - 1:17.0.13.0.11-3 - Correct version suffix in "Update to jdk-17.0.13+11 (GA)" changelog entry - Related: RHEL-58785