From 39d1a69bd57470b0d8754c807a11651515edaeef Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 11 May 2023 21:05:20 +0300 Subject: [PATCH] Change portablesuffix --- SPECS/java-17-openjdk.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SPECS/java-17-openjdk.spec b/SPECS/java-17-openjdk.spec index 9c55d1a..d989b3d 100644 --- a/SPECS/java-17-openjdk.spec +++ b/SPECS/java-17-openjdk.spec @@ -364,7 +364,7 @@ %global rpmrelease 3 # Settings used by the portable build %global portablerelease 2 -%global portablesuffix el8 +%global portablesuffix el%{rhel} %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 @@ -1242,7 +1242,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 # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # and this change was brought into RHEL-4. java-1.5.0-ibm packages # also included the epoch in their virtual provides. This created a @@ -2479,6 +2479,9 @@ cjc.mainProgram(args) %endif %changelog +* Thu May 11 2023 Eduard Abdullin - 1:17.0.7.0.7-3.alma +- Change portablesiffix + * Wed Apr 26 2023 Andrew Hughes - 1:17.0.7.0.7-3 - Sync portable spec file with current version - Related: rhbz#2189326