Sync the copy of the portable specfile with the latest update
Related: RHEL-120553
This commit is contained in:
parent
f9b6975315
commit
97eed77585
@ -327,7 +327,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# New Version-String scheme-style defines
|
# New Version-String scheme-style defines
|
||||||
%global featurever 22
|
%global featurever 23
|
||||||
%global fakefeaturever 25
|
%global fakefeaturever 25
|
||||||
%global interimver 0
|
%global interimver 0
|
||||||
%global updatever 2
|
%global updatever 2
|
||||||
@ -335,7 +335,7 @@
|
|||||||
# buildjdkver is usually same as %%{featurever},
|
# buildjdkver is usually same as %%{featurever},
|
||||||
# but in time of bootstrap of next jdk, it is featurever-1,
|
# but in time of bootstrap of next jdk, it is featurever-1,
|
||||||
# and this it is better to change it here, on single place
|
# and this it is better to change it here, on single place
|
||||||
%global buildjdkver %{featurever}
|
%global buildjdkver %(expr %{featurever} - 1)
|
||||||
# We don't add any LTS designator for STS packages (Fedora and EPEL).
|
# We don't add any LTS designator for STS packages (Fedora and EPEL).
|
||||||
# We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined.
|
# We need to explicitly exclude EPEL as it would have the %%{rhel} macro defined.
|
||||||
%if 0%{?rhel} && !0%{?epel}
|
%if 0%{?rhel} && !0%{?epel}
|
||||||
@ -345,21 +345,6 @@
|
|||||||
%global lts_designator ""
|
%global lts_designator ""
|
||||||
%global lts_designator_zip ""
|
%global lts_designator_zip ""
|
||||||
%endif
|
%endif
|
||||||
# JDK to use for bootstrapping
|
|
||||||
%global bootjdkpkg java-%{fakefeaturever}-openjdk
|
|
||||||
%ifarch %{fastdebug_arches}
|
|
||||||
%global bootdebugpkg fastdebug
|
|
||||||
%endif
|
|
||||||
%global bootjdkzip %{_jvmdir}/%{bootjdkpkg}-*.portable%{?bootdebugpkg:.%{bootdebugpkg}}.jdk.%{_arch}.tar.xz
|
|
||||||
%global bootjdk %{_builddir}/%{bootjdkpkg}.boot
|
|
||||||
# Define whether to use the bootstrap JDK directly or with a fresh libjvm.so
|
|
||||||
# This will only work where the bootstrap JDK is the same major version
|
|
||||||
# as the JDK being built
|
|
||||||
%if %{with fresh_libjvm} && %{buildjdkver} == %{featurever}
|
|
||||||
%global build_hotspot_first 1
|
|
||||||
%else
|
|
||||||
%global build_hotspot_first 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Define vendor information used by OpenJDK
|
# Define vendor information used by OpenJDK
|
||||||
%global oj_vendor Red Hat, Inc.
|
%global oj_vendor Red Hat, Inc.
|
||||||
@ -400,8 +385,8 @@
|
|||||||
%global origin_nice OpenJDK
|
%global origin_nice OpenJDK
|
||||||
%global top_level_dir_name %{vcstag}
|
%global top_level_dir_name %{vcstag}
|
||||||
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
%global top_level_dir_name_backup %{top_level_dir_name}-backup
|
||||||
%global buildver 9
|
%global buildver 7
|
||||||
%global rpmrelease 2
|
%global rpmrelease 1
|
||||||
#%%global tagsuffix %%{nil}
|
#%%global tagsuffix %%{nil}
|
||||||
# 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
|
# 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
|
%if %is_system_jdk
|
||||||
@ -468,6 +453,22 @@
|
|||||||
%define miscportablename() %(echo %{uniquesuffix ""} | sed "s;el%{rhel}\\(_[0-9]\\)*;portable.misc;g")
|
%define miscportablename() %(echo %{uniquesuffix ""} | sed "s;el%{rhel}\\(_[0-9]\\)*;portable.misc;g")
|
||||||
%define miscportablearchive() %{miscportablename}.tar.xz
|
%define miscportablearchive() %{miscportablename}.tar.xz
|
||||||
|
|
||||||
|
# JDK to use for bootstrapping
|
||||||
|
%global bootjdkpkg java-%{fakefeaturever}-openjdk
|
||||||
|
%ifarch %{fastdebug_arches}
|
||||||
|
%global bootdebugpkg fastdebug
|
||||||
|
%endif
|
||||||
|
%global bootjdkzip %{_jvmdir}/%{bootjdkpkg}-*.portable%{?bootdebugpkg:.%{bootdebugpkg}}.jdk.%{_arch}.tar.xz
|
||||||
|
%global bootjdk %{_builddir}/%{uniquesuffix -- ""}/%{bootjdkpkg}.boot
|
||||||
|
# Define whether to use the bootstrap JDK directly or with a fresh libjvm.so
|
||||||
|
# This will only work where the bootstrap JDK is the same major version
|
||||||
|
# as the JDK being built
|
||||||
|
%if %{with fresh_libjvm} && %{buildjdkver} == %{featurever}
|
||||||
|
%global build_hotspot_first 1
|
||||||
|
%else
|
||||||
|
%global build_hotspot_first 0
|
||||||
|
%endif
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
|
# fix for https://bugzilla.redhat.com/show_bug.cgi?id=1111349
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1590796#c14
|
||||||
@ -597,7 +598,7 @@ Source0: https://openjdk-sources.osci.io/openjdk%{featurever}/open%{vcstag}%{ea_
|
|||||||
# Use 'icedtea_sync.sh' to update the following
|
# Use 'icedtea_sync.sh' to update the following
|
||||||
# They are based on code contained in the IcedTea project (6.x).
|
# They are based on code contained in the IcedTea project (6.x).
|
||||||
# Systemtap tapsets. Zipped up to keep it small.
|
# Systemtap tapsets. Zipped up to keep it small.
|
||||||
Source8: tapsets-icedtea-%%{icedteaver}.tar.xz
|
Source8: tapsets-icedtea-%{icedteaver}.tar.xz
|
||||||
|
|
||||||
# Desktop files. Adapted from IcedTea
|
# Desktop files. Adapted from IcedTea
|
||||||
# Disabled in portables
|
# Disabled in portables
|
||||||
@ -1066,7 +1067,7 @@ pushd %{_jvmdir}
|
|||||||
sha256sum --check %{bootjdkzip}.sha256sum
|
sha256sum --check %{bootjdkzip}.sha256sum
|
||||||
popd
|
popd
|
||||||
tar -xJf %{bootjdkzip}
|
tar -xJf %{bootjdkzip}
|
||||||
mv java-%{fakefeaturever}-openjdk-%{featurever}* %{bootjdk}
|
mv java-%{fakefeaturever}-openjdk-%{buildjdkver}* %{bootjdk}
|
||||||
# Print release information
|
# Print release information
|
||||||
echo "Installed boot JDK:"
|
echo "Installed boot JDK:"
|
||||||
cat %{bootjdk}/release
|
cat %{bootjdk}/release
|
||||||
@ -1957,6 +1958,16 @@ done
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Oct 25 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:23.0.2.0.7-1
|
||||||
|
- Update to jdk-23.0.2+7 (GA)
|
||||||
|
- Update release notes with features of JDK 23
|
||||||
|
- Switch buildjdkver to featurever + 1
|
||||||
|
- Use buildjdkver in the path to the extracted bootstrap JDK
|
||||||
|
- Move bootstrap declarations later so they can use variables like uniquesuffix
|
||||||
|
- Fix bootjdk so it uses our build subdirectory created in setup (_builddir only gives the top-level BUILD)
|
||||||
|
- Fix double '%' in specification of IcedTea sources
|
||||||
|
- Related: RHELBU-3203
|
||||||
|
|
||||||
* Mon Sep 22 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:22.0.2.0.9-2
|
* Mon Sep 22 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:22.0.2.0.9-2
|
||||||
- Build using ourselves rather than the system JDK as java-25-openjdk is unavailable on older systems
|
- Build using ourselves rather than the system JDK as java-25-openjdk is unavailable on older systems
|
||||||
- Switch buildjdkver back to featurever temporarily for this rebuild
|
- Switch buildjdkver back to featurever temporarily for this rebuild
|
||||||
|
|||||||
@ -2481,6 +2481,7 @@ exit 0
|
|||||||
* Sat Oct 25 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:23.0.2.0.7-1
|
* Sat Oct 25 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:23.0.2.0.7-1
|
||||||
- Update to jdk-23.0.2+7 (GA)
|
- Update to jdk-23.0.2+7 (GA)
|
||||||
- Update release notes with features of JDK 23
|
- Update release notes with features of JDK 23
|
||||||
|
- Sync the copy of the portable specfile with the latest update
|
||||||
- Related: RHEL-120553
|
- Related: RHEL-120553
|
||||||
|
|
||||||
* Tue Sep 23 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:22.0.2.0.9-1
|
* Tue Sep 23 2025 Andrew Hughes <gnu.andrew@redhat.com> - 1:22.0.2.0.9-1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user