Define portablesuffix according to whether pkgos is defined or not

Related: RHEL-30943
This commit is contained in:
Andrew Hughes 2024-04-12 16:48:02 +01:00
parent 611d944338
commit 12da7e88e0

View File

@ -354,7 +354,7 @@
%global rpmrelease 2
# Settings used by the portable build
%global portablerelease 1
%global portablesuffix el7_9
%global portablesuffix %{?pkgos:el7_9}%{!?pkgos:el8}
%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
@ -2486,6 +2486,7 @@ require "copy_jdk_configs.lua"
* Fri Apr 12 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.2.0.13-2
- Disable setting pkgos to rhel7 to revert to the openjdk-portable-rhel-8 version
- Sync the copy of the portable specfile with the latest update
- Define portablesuffix according to whether pkgos is defined or not
- Related: RHEL-30943
* Tue Jan 09 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:21.0.2.0.13-1