- Set portablesuffix to el8 on AlmaLinux

This commit is contained in:
eabdullin 2024-10-18 08:41:12 +03:00
parent 0546232ccd
commit 0105abc66f

View File

@ -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 <eabdullin@almalinux.org> - 1:17.0.13.0.11-3.alma.1
- Set portablesuffix to el8 on AlmaLinux
* Wed Oct 9 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.13.0.11-3
- Correct version suffix in "Update to jdk-17.0.13+11 (GA)" changelog entry
- Related: RHEL-58785