|
|
@ -98,6 +98,9 @@
|
|
|
|
# != rpm -ql java-11-openjdk-headless-11.0.1.13-8.fc29.x86_64.rpm | grep bin
|
|
|
|
# != rpm -ql java-11-openjdk-headless-11.0.1.13-8.fc29.x86_64.rpm | grep bin
|
|
|
|
# similarly for other %%{_jvmdir}/{jre,java} and %%{_javadocdir}/{java,java-zip}
|
|
|
|
# similarly for other %%{_jvmdir}/{jre,java} and %%{_javadocdir}/{java,java-zip}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Indicates whether this is the default JDK on this version of RHEL
|
|
|
|
|
|
|
|
%global is_system_jdk 1
|
|
|
|
|
|
|
|
|
|
|
|
%global aarch64 aarch64 arm64 armv8
|
|
|
|
%global aarch64 aarch64 arm64 armv8
|
|
|
|
# we need to distinguish between big and little endian PPC64
|
|
|
|
# we need to distinguish between big and little endian PPC64
|
|
|
|
%global ppc64le ppc64le
|
|
|
|
%global ppc64le ppc64le
|
|
|
@ -291,10 +294,22 @@
|
|
|
|
# New Version-String scheme-style defines
|
|
|
|
# New Version-String scheme-style defines
|
|
|
|
%global majorver 8
|
|
|
|
%global majorver 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Define version of OpenJDK 8 used
|
|
|
|
|
|
|
|
%global project openjdk
|
|
|
|
|
|
|
|
%global repo shenandoah-jdk8u
|
|
|
|
|
|
|
|
%global openjdk_revision jdk8u392-b08
|
|
|
|
|
|
|
|
%global shenandoah_revision shenandoah-%{openjdk_revision}
|
|
|
|
|
|
|
|
# Define IcedTea version used for SystemTap tapsets and desktop files
|
|
|
|
|
|
|
|
%global icedteaver 3.15.0
|
|
|
|
|
|
|
|
# Define current Git revision for the FIPS support patches
|
|
|
|
|
|
|
|
%global fipsver 6d1aade0648
|
|
|
|
|
|
|
|
# Define current Git revision for the cacerts patch
|
|
|
|
|
|
|
|
%global cacertsver 8139f2361c2
|
|
|
|
|
|
|
|
|
|
|
|
# Standard JPackage naming and versioning defines
|
|
|
|
# Standard JPackage naming and versioning defines
|
|
|
|
%global origin openjdk
|
|
|
|
%global origin openjdk
|
|
|
|
%global origin_nice OpenJDK
|
|
|
|
%global origin_nice OpenJDK
|
|
|
|
%global top_level_dir_name %{origin}
|
|
|
|
%global top_level_dir_name %{shenandoah_revision}
|
|
|
|
|
|
|
|
|
|
|
|
# Settings for local security configuration
|
|
|
|
# Settings for local security configuration
|
|
|
|
%global security_file %{top_level_dir_name}/jdk/src/share/lib/security/java.security-%{_target_os}
|
|
|
|
%global security_file %{top_level_dir_name}/jdk/src/share/lib/security/java.security-%{_target_os}
|
|
|
@ -313,40 +328,24 @@
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%{name}&version=%{fedora}
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%{name}&version=%{fedora}
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%20%{rhel}&component=%{name}
|
|
|
|
%global oj_vendor_bug_url https://access.redhat.com/support/cases/
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi
|
|
|
|
%global oj_vendor_bug_url https://bugzilla.redhat.com/enter_bug.cgi
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# note, following three variables are sedded from update_sources if used correctly. Hardcode them rather there.
|
|
|
|
|
|
|
|
%global shenandoah_project openjdk
|
|
|
|
|
|
|
|
%global shenandoah_repo shenandoah-jdk8u
|
|
|
|
|
|
|
|
%global openjdk_revision jdk8u382-b05
|
|
|
|
|
|
|
|
%global shenandoah_revision shenandoah-%{openjdk_revision}
|
|
|
|
|
|
|
|
# Define old aarch64/jdk8u tree variables for compatibility
|
|
|
|
|
|
|
|
%global project %{shenandoah_project}
|
|
|
|
|
|
|
|
%global repo %{shenandoah_repo}
|
|
|
|
|
|
|
|
%global revision %{shenandoah_revision}
|
|
|
|
|
|
|
|
# Define IcedTea version used for SystemTap tapsets and desktop files
|
|
|
|
|
|
|
|
%global icedteaver 3.15.0
|
|
|
|
|
|
|
|
# Define current Git revision for the FIPS support patches
|
|
|
|
|
|
|
|
%global fipsver 6d1aade0648
|
|
|
|
|
|
|
|
# Define current Git revision for the cacerts patch
|
|
|
|
|
|
|
|
%global cacertsver 8139f2361c2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# e.g. aarch64-shenandoah-jdk8u212-b04-shenandoah-merge-2019-04-30 -> aarch64-shenandoah-jdk8u212-b04
|
|
|
|
# e.g. aarch64-shenandoah-jdk8u212-b04-shenandoah-merge-2019-04-30 -> aarch64-shenandoah-jdk8u212-b04
|
|
|
|
%global version_tag %(VERSION=%{revision}; echo ${VERSION%%-shenandoah-merge*})
|
|
|
|
%global version_tag %(VERSION=%{shenandoah_revision}; echo ${VERSION%%-shenandoah-merge*})
|
|
|
|
# eg # jdk8u60-b27 -> jdk8u60 or # aarch64-jdk8u60-b27 -> aarch64-jdk8u60 (dont forget spec escape % by %%)
|
|
|
|
# eg # jdk8u60-b27 -> jdk8u60 or # aarch64-jdk8u60-b27 -> aarch64-jdk8u60 (dont forget spec escape % by %%)
|
|
|
|
%global whole_update %(VERSION=%{version_tag}; echo ${VERSION%%-*})
|
|
|
|
%global whole_update %(VERSION=%{version_tag}; echo ${VERSION%%-*})
|
|
|
|
# eg jdk8u60 -> 60 or aarch64-jdk8u60 -> 60
|
|
|
|
# eg jdk8u60 -> 60 or aarch64-jdk8u60 -> 60
|
|
|
|
%global updatever %(VERSION=%{whole_update}; echo ${VERSION##*u})
|
|
|
|
%global updatever %(VERSION=%{whole_update}; echo ${VERSION##*u})
|
|
|
|
# eg jdk8u60-b27 -> b27
|
|
|
|
# eg jdk8u60-b27 -> b27
|
|
|
|
%global buildver %(VERSION=%{version_tag}; echo ${VERSION##*-})
|
|
|
|
%global buildver %(VERSION=%{version_tag}; echo ${VERSION##*-})
|
|
|
|
%global rpmrelease 2
|
|
|
|
%global rpmrelease 4
|
|
|
|
# Settings used by the portable build
|
|
|
|
# Settings used by the portable build
|
|
|
|
%global portablerelease 2
|
|
|
|
%global portablerelease 1
|
|
|
|
%global portablesuffix el8
|
|
|
|
%global portablesuffix el8
|
|
|
|
%global portablebuilddir /builddir/build/BUILD
|
|
|
|
%global portablebuilddir /builddir/build/BUILD
|
|
|
|
|
|
|
|
|
|
|
@ -367,7 +366,12 @@
|
|
|
|
%global eaprefix 0.
|
|
|
|
%global eaprefix 0.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
# priority must be 7 digits in total. The expression is workarounding tip
|
|
|
|
# priority must be 7 digits in total. The expression is workarounding tip
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
%global priority %(TIP=1800%{updatever}; echo ${TIP/tip/999})
|
|
|
|
%global priority %(TIP=1800%{updatever}; echo ${TIP/tip/999})
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
# for non-default using 1, so slowdebugs can have 0
|
|
|
|
|
|
|
|
%global priority 00000%{interimver}1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global javaver 1.%{majorver}.0
|
|
|
|
%global javaver 1.%{majorver}.0
|
|
|
|
|
|
|
|
|
|
|
@ -1052,8 +1056,8 @@ exit 0
|
|
|
|
%{_mandir}/man1/javadoc-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/javadoc-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/javah-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/javah-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/javap-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/javap-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jconsole-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/jcmd-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jcmd-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
|
|
|
|
%{_mandir}/man1/jconsole-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jdb-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jdb-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jdeps-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jdeps-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jhat-%{uniquesuffix -- %{?1}}.1*
|
|
|
|
%{_mandir}/man1/jhat-%{uniquesuffix -- %{?1}}.1*
|
|
|
@ -1126,13 +1130,15 @@ Recommends: gtk2%{?_isa}
|
|
|
|
Provides: java-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
# Standard JPackage base provides
|
|
|
|
# Standard JPackage base provides
|
|
|
|
Provides: jre = %{javaver}%{?1}
|
|
|
|
|
|
|
|
Provides: jre-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: jre-%{javaver}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: jre-%{javaver}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: jre-%{javaver}-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: jre-%{javaver}-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
Provides: java-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java%{?1} = %{epoch}:%{javaver}
|
|
|
|
Provides: jre-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: java%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: jre%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%define java_headless_rpo() %{expand:
|
|
|
|
%define java_headless_rpo() %{expand:
|
|
|
@ -1172,14 +1178,16 @@ Suggests: lksctp-tools%{?_isa}, pcsc-lite-devel%{?_isa}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# Standard JPackage base provides
|
|
|
|
# Standard JPackage base provides
|
|
|
|
Provides: jre-headless%{?1} = %{epoch}:%{javaver}
|
|
|
|
|
|
|
|
Provides: jre-%{javaver}-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: jre-%{javaver}-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: jre-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: jre-%{javaver}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: jre-%{javaver}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
Provides: java-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-headless%{?1} = %{epoch}:%{javaver}
|
|
|
|
Provides: jre-%{origin}-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: jre-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: java-headless%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1312019
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1312019
|
|
|
|
Provides: /usr/bin/jjs
|
|
|
|
Provides: /usr/bin/jjs
|
|
|
@ -1200,15 +1208,16 @@ Requires(postun): %{alternatives_requires}
|
|
|
|
Requires(postun): chkconfig >= 1.7
|
|
|
|
Requires(postun): chkconfig >= 1.7
|
|
|
|
|
|
|
|
|
|
|
|
# Standard JPackage devel provides
|
|
|
|
# Standard JPackage devel provides
|
|
|
|
Provides: java-sdk-%{javaver}-%{origin}%{?1} = %{epoch}:%{version}
|
|
|
|
Provides: java-sdk-%{javaver}-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-sdk-%{javaver}%{?1} = %{epoch}:%{version}
|
|
|
|
Provides: java-sdk-%{javaver}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-sdk-%{origin}%{?1} = %{epoch}:%{version}
|
|
|
|
Provides: java-%{javaver}-devel%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-sdk%{?1} = %{epoch}:%{javaver}
|
|
|
|
Provides: java-%{javaver}-%{origin}-devel%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-devel%{?1} = %{epoch}:%{version}
|
|
|
|
%if %is_system_jdk
|
|
|
|
Provides: java-%{javaver}-%{origin}-devel%{?1} = %{epoch}:%{version}
|
|
|
|
Provides: java-devel-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-devel-%{origin}%{?1} = %{epoch}:%{version}
|
|
|
|
Provides: java-sdk-%{origin}%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-devel%{?1} = %{epoch}:%{javaver}
|
|
|
|
Provides: java-devel%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: java-sdk%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1216,10 +1225,11 @@ Provides: java-devel%{?1} = %{epoch}:%{javaver}
|
|
|
|
Requires: %{name}%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name}%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
OrderWithRequires: %{name}-headless%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
OrderWithRequires: %{name}-headless%{?1}%{?_isa} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
Provides: java-demo%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
Provides: java-%{javaver}-demo%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-demo%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin}-demo%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin}-demo%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
|
|
|
|
Provides: java-demo%{?1} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%define java_javadoc_rpo() %{expand:
|
|
|
|
%define java_javadoc_rpo() %{expand:
|
|
|
@ -1236,7 +1246,9 @@ Requires(postun): chkconfig >= 1.7
|
|
|
|
# Standard JPackage javadoc provides
|
|
|
|
# Standard JPackage javadoc provides
|
|
|
|
Provides: java-%{javaver}-javadoc%{?1}%{?2} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-javadoc%{?1}%{?2} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin}-javadoc%{?1}%{?2} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-%{javaver}-%{origin}-javadoc%{?1}%{?2} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
Provides: java-javadoc%{?1}%{?2} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: java-javadoc%{?1}%{?2} = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%define java_src_rpo() %{expand:
|
|
|
|
%define java_src_rpo() %{expand:
|
|
|
@ -1299,10 +1311,10 @@ URL: http://openjdk.java.net/
|
|
|
|
# OpenJDK 8u, the aarch64 port and Shenandoah
|
|
|
|
# OpenJDK 8u, the aarch64 port and Shenandoah
|
|
|
|
# To regenerate, use:
|
|
|
|
# To regenerate, use:
|
|
|
|
# VERSION=%%{shenandoah_revision}
|
|
|
|
# VERSION=%%{shenandoah_revision}
|
|
|
|
# FILE_NAME_ROOT=%%{shenandoah_project}-%%{shenandoah_repo}-${VERSION}
|
|
|
|
# FILE_NAME_ROOT=%%{project}-%%{repo}-${VERSION}
|
|
|
|
# REPO_ROOT=<path to checked-out repository> generate_source_tarball.sh
|
|
|
|
# REPO_ROOT=<path to checked-out repository> generate_source_tarball.sh
|
|
|
|
# where the source is obtained from http://hg.openjdk.java.net/%%{project}/%%{repo}
|
|
|
|
# where the source is obtained from http://github.com/%%{project}/%%{repo}
|
|
|
|
Source0: %{shenandoah_project}-%{shenandoah_repo}-%{shenandoah_revision}-4curve.tar.xz
|
|
|
|
Source0: %{project}-%{repo}-%{shenandoah_revision}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
# 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 (3.x).
|
|
|
|
# They are based on code contained in the IcedTea project (3.x).
|
|
|
@ -1467,6 +1479,8 @@ Patch203: jdk8042159-allow_using_system_installed_lcms2-root.patch
|
|
|
|
Patch204: jdk8042159-allow_using_system_installed_lcms2-jdk.patch
|
|
|
|
Patch204: jdk8042159-allow_using_system_installed_lcms2-jdk.patch
|
|
|
|
# JDK-8257794: Zero: assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1) failed: wrong on Linux/x86_32
|
|
|
|
# JDK-8257794: Zero: assert(istate->_stack_limit == istate->_thread->last_Java_sp() + 1) failed: wrong on Linux/x86_32
|
|
|
|
Patch581: jdk8257794-remove_broken_assert.patch
|
|
|
|
Patch581: jdk8257794-remove_broken_assert.patch
|
|
|
|
|
|
|
|
# JDK-8312489, OJ2095: Increase jdk.jar.maxSignatureFileSize default which is too low for JARs such as WhiteSource/Mend unified agent jar
|
|
|
|
|
|
|
|
Patch2000: jdk8312489-max_sig_default_increase.patch
|
|
|
|
|
|
|
|
|
|
|
|
#############################################
|
|
|
|
#############################################
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -1581,7 +1595,7 @@ Provides: bundled(lcms2) = 2.10.0
|
|
|
|
# Version in jdk/src/share/native/sun/awt/image/jpeg/jpeglib.h
|
|
|
|
# Version in jdk/src/share/native/sun/awt/image/jpeg/jpeglib.h
|
|
|
|
Provides: bundled(libjpeg) = 6b
|
|
|
|
Provides: bundled(libjpeg) = 6b
|
|
|
|
# Version in jdk/src/share/native/sun/awt/libpng/png.h
|
|
|
|
# Version in jdk/src/share/native/sun/awt/libpng/png.h
|
|
|
|
Provides: bundled(libpng) = 1.6.37
|
|
|
|
Provides: bundled(libpng) = 1.6.39
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# this is always built, also during debug-only build
|
|
|
|
# this is always built, also during debug-only build
|
|
|
@ -1860,6 +1874,7 @@ if [ $prioritylength -ne 7 ] ; then
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
# For old patches
|
|
|
|
# For old patches
|
|
|
|
ln -s %{top_level_dir_name} jdk8
|
|
|
|
ln -s %{top_level_dir_name} jdk8
|
|
|
|
|
|
|
|
ln -s %{top_level_dir_name} openjdk
|
|
|
|
|
|
|
|
|
|
|
|
# replace outdated configure guess script
|
|
|
|
# replace outdated configure guess script
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -1914,6 +1929,8 @@ pushd %{top_level_dir_name}
|
|
|
|
%patch1000 -p1
|
|
|
|
%patch1000 -p1
|
|
|
|
# system cacerts support
|
|
|
|
# system cacerts support
|
|
|
|
%patch539 -p1
|
|
|
|
%patch539 -p1
|
|
|
|
|
|
|
|
# JDK-8312489 backport, proposed for 8u402: https://github.com/openjdk/jdk8u-dev/pull/381
|
|
|
|
|
|
|
|
%patch2000 -p1
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
# RPM-only fixes
|
|
|
|
# RPM-only fixes
|
|
|
@ -2476,6 +2493,9 @@ cjc.mainProgram(args)
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
# main package builds always
|
|
|
|
# main package builds always
|
|
|
|
%{files_jre %{nil}}
|
|
|
|
%{files_jre %{nil}}
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
|
|
|
|
%ghost %{_bindir}/policytool
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
# placeholder
|
|
|
|
# placeholder
|
|
|
@ -2487,9 +2507,66 @@ cjc.mainProgram(args)
|
|
|
|
# important note, see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
|
|
|
|
# important note, see https://bugzilla.redhat.com/show_bug.cgi?id=1038092 for whole issue
|
|
|
|
# all config/noreplace files (and more) have to be declared in pretrans. See pretrans
|
|
|
|
# all config/noreplace files (and more) have to be declared in pretrans. See pretrans
|
|
|
|
%{files_jre_headless %{nil}}
|
|
|
|
%{files_jre_headless %{nil}}
|
|
|
|
|
|
|
|
# RHEL-11313; alternatives not owned by packages
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
|
|
|
|
%ghost %{_bindir}/java
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/jre
|
|
|
|
|
|
|
|
%ghost %{_bindir}/%{alt_java_name}
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jjs
|
|
|
|
|
|
|
|
%ghost %{_bindir}/keytool
|
|
|
|
|
|
|
|
%ghost %{_bindir}/orbd
|
|
|
|
|
|
|
|
%ghost %{_bindir}/pack200
|
|
|
|
|
|
|
|
%ghost %{_bindir}/rmid
|
|
|
|
|
|
|
|
%ghost %{_bindir}/rmiregistry
|
|
|
|
|
|
|
|
%ghost %{_bindir}/servertool
|
|
|
|
|
|
|
|
%ghost %{_bindir}/tnameserv
|
|
|
|
|
|
|
|
%ghost %{_bindir}/unpack200
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/jre-%{origin}
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/jre-%{javaver}
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/jre-%{javaver}-%{origin}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{files_devel %{nil}}
|
|
|
|
%{files_devel %{nil}}
|
|
|
|
|
|
|
|
# RHEL-11313; alternatives not owned by packages
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
|
|
|
|
%ghost %{_bindir}/javac
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/java
|
|
|
|
|
|
|
|
%ghost %{_bindir}/appletviewer
|
|
|
|
|
|
|
|
%ghost %{_bindir}/clhsdb
|
|
|
|
|
|
|
|
%ghost %{_bindir}/extcheck
|
|
|
|
|
|
|
|
%ghost %{_bindir}/hsdb
|
|
|
|
|
|
|
|
%ghost %{_bindir}/idlj
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jar
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jarsigner
|
|
|
|
|
|
|
|
%ghost %{_bindir}/javadoc
|
|
|
|
|
|
|
|
%ghost %{_bindir}/javah
|
|
|
|
|
|
|
|
%ghost %{_bindir}/javap
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jcmd
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jconsole
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jdb
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jdeps
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jfr
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jhat
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jinfo
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jmap
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jps
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jrunscript
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jsadebugd
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jstack
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jstat
|
|
|
|
|
|
|
|
%ghost %{_bindir}/jstatd
|
|
|
|
|
|
|
|
%ghost %{_bindir}/native2ascii
|
|
|
|
|
|
|
|
%ghost %{_bindir}/rmic
|
|
|
|
|
|
|
|
%ghost %{_bindir}/schemagen
|
|
|
|
|
|
|
|
%ghost %{_bindir}/serialver
|
|
|
|
|
|
|
|
%ghost %{_bindir}/wsgen
|
|
|
|
|
|
|
|
%ghost %{_bindir}/wsimport
|
|
|
|
|
|
|
|
%ghost %{_bindir}/xjc
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/java-%{origin}
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/java-%{javaver}
|
|
|
|
|
|
|
|
%ghost %{_jvmdir}/java-%{javaver}-%{origin}
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files demo -f %{name}-demo.files
|
|
|
|
%files demo -f %{name}-demo.files
|
|
|
|
%{files_demo %{nil}}
|
|
|
|
%{files_demo %{nil}}
|
|
|
@ -2499,12 +2576,20 @@ cjc.mainProgram(args)
|
|
|
|
|
|
|
|
|
|
|
|
%files javadoc
|
|
|
|
%files javadoc
|
|
|
|
%{files_javadoc %{nil}}
|
|
|
|
%{files_javadoc %{nil}}
|
|
|
|
|
|
|
|
# RHEL-11313; alternatives not owned by packages
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
|
|
|
|
%ghost %{_javadocdir}/java
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
# This puts a huge documentation file in /usr/share
|
|
|
|
# This puts a huge documentation file in /usr/share
|
|
|
|
# It is now architecture-dependent, as eg. AOT and Graal are now x86_64 only
|
|
|
|
# It is now architecture-dependent, as eg. AOT and Graal are now x86_64 only
|
|
|
|
# same for debug variant
|
|
|
|
# same for debug variant
|
|
|
|
%files javadoc-zip
|
|
|
|
%files javadoc-zip
|
|
|
|
%{files_javadoc_zip %{nil}}
|
|
|
|
%{files_javadoc_zip %{nil}}
|
|
|
|
|
|
|
|
# RHEL-11313; alternatives not owned by packages
|
|
|
|
|
|
|
|
%if %is_system_jdk
|
|
|
|
|
|
|
|
%ghost %{_javadocdir}/java-zip
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files accessibility
|
|
|
|
%files accessibility
|
|
|
|
%{files_accessibility %{nil}}
|
|
|
|
%{files_accessibility %{nil}}
|
|
|
@ -2551,6 +2636,40 @@ cjc.mainProgram(args)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Oct 16 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-4
|
|
|
|
|
|
|
|
- Revert jcmd move as jcmd will not operate without tools.jar
|
|
|
|
|
|
|
|
- Related: RHEL-13612
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 16 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-3
|
|
|
|
|
|
|
|
- Add a compatibility symlink from bin/jcmd to jre/bin/jcmd
|
|
|
|
|
|
|
|
- Related: RHEL-13612
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.392.b08-2
|
|
|
|
|
|
|
|
- Update to shenandoah-jdk8u392-b08 (GA)
|
|
|
|
|
|
|
|
- Sync the copy of the portable specfile with the latest update
|
|
|
|
|
|
|
|
- Update generate_tarball.sh to be closer to upstream vanilla script inc. no more ECC removal
|
|
|
|
|
|
|
|
- Update bug URL for RHEL to point to the Red Hat customer portal
|
|
|
|
|
|
|
|
- Change top_level_dir_name to use the VCS tag, matching new upstream release style tarball
|
|
|
|
|
|
|
|
- Regenerate PR2462 patch following JDK-8315135
|
|
|
|
|
|
|
|
- Bump version of bundled libpng to 1.6.39
|
|
|
|
|
|
|
|
- Add backport of JDK-8312489 heading upstream for 8u402 (see OPENJDK-2095)
|
|
|
|
|
|
|
|
- Add missing JFR, alt-java, jre-* and java-* alternative ghosts
|
|
|
|
|
|
|
|
- Move jcmd to the headless package
|
|
|
|
|
|
|
|
- ** This tarball is embargoed until 2023-10-17 @ 1pm PT. **
|
|
|
|
|
|
|
|
- Resolves: RHEL-12309
|
|
|
|
|
|
|
|
- Resolves: RHEL-13600
|
|
|
|
|
|
|
|
- Resolves: RHEL-13628
|
|
|
|
|
|
|
|
- Resolves: RHEL-13635
|
|
|
|
|
|
|
|
- Resolves: RHEL-13641
|
|
|
|
|
|
|
|
- Resolves: RHEL-13612
|
|
|
|
|
|
|
|
- Resolves: RHEL-13621
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Jiri Vanek <jvanek@redhat.com> - 1:1.8.0.392.b08-1
|
|
|
|
|
|
|
|
- For non debug subpackages, ghosted all alternatives (rhbz1649776)
|
|
|
|
|
|
|
|
- For non system JDKs, if-outed versionless provides.
|
|
|
|
|
|
|
|
- Aligned versions to be %%{epoch}:%%{version}-%%{release} instead of chaotic
|
|
|
|
|
|
|
|
- Related: RHEL-13641
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.382.b05-2
|
|
|
|
* Wed Jul 19 2023 Andrew Hughes <gnu.andrew@redhat.com> - 1:1.8.0.382.b05-2
|
|
|
|
- Bump release number so we are newer than 8.6
|
|
|
|
- Bump release number so we are newer than 8.6
|
|
|
|
- Related: rhbz#2221106
|
|
|
|
- Related: rhbz#2221106
|
|
|
|