Set this to *not* be the default/system JDK providing 'java', 'jre', 'java-devel' ,etc.

This is actually a no-op following the sync with RHEL 9, because
java-17-openjdk is not the default there either.

Resolves: RHEL-45722
This commit is contained in:
Andrew Hughes 2024-07-31 02:25:05 +01:00
parent c92c114d34
commit 62330df1bf

View File

@ -111,8 +111,8 @@
# similarly for other %%{_jvmdir}/{jre,java} and %%{_javadocdir}/{java,java-zip} # similarly for other %%{_jvmdir}/{jre,java} and %%{_javadocdir}/{java,java-zip}
%define is_release_build() %( if [ "%{?1}" == "%{debug_suffix_unquoted}" -o "%{?1}" == "%{fastdebug_suffix_unquoted}" ]; then echo "0" ; else echo "1"; fi ) %define is_release_build() %( if [ "%{?1}" == "%{debug_suffix_unquoted}" -o "%{?1}" == "%{fastdebug_suffix_unquoted}" ]; then echo "0" ; else echo "1"; fi )
# while JDK is a techpreview(is_system_jdk=0), some provides are turned off. Once jdk stops to be an techpreview, move it to 1 # Indicates whether this is the default JDK on this version of RHEL
# as sytem JDK, we mean any JDK which can run whole system java stack without issues (like bytecode issues, module issues, dependencies...) # Only the default/system JDK provides unversioned Provides like 'java', 'jre' and 'java-devel'
%global is_system_jdk 0 %global is_system_jdk 0
%global aarch64 aarch64 arm64 armv8 %global aarch64 aarch64 arm64 armv8
@ -2488,6 +2488,8 @@ cjc.mainProgram(args)
%changelog %changelog
* Wed Jul 31 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.11.0.9-2 * Wed Jul 31 2024 Andrew Hughes <gnu.andrew@redhat.com> - 1:17.0.11.0.9-2
- Fix gating.yaml to reference RHEL 10 - Fix gating.yaml to reference RHEL 10
- Set this to *not* be the default/system JDK providing 'java', 'jre', 'java-devel' ,etc.
- Resolves: RHEL-45722
- Resolves: RHEL-51870 - Resolves: RHEL-51870
* Thu Apr 11 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.11.0.9-2 * Thu Apr 11 2024 Thomas Fitzsimmons <fitzsim@redhat.com> - 1:17.0.11.0.9-2