Go to file
Thomas Fitzsimmons fb87846300 Use compatiblename not name in uniquejavadocdir and uniquesuffix
- Use compatiblename not name in uniquejavadocdir and uniquesuffix
- Related: RHEL-68848

%{name} is not defined until Name is specified later in the file.  Use
compatible name in early macros.  __provides_exclude_from and
__requires_exclude_from in particular need this change, otherwise the
regular expression expanded from %{uniquesuffix ...} contains a
literal %{name} and does not match libraries that are intended to be
excluded.
2024-12-20 10:40:22 -05:00
scripts Make build scripts executable 2024-10-11 20:31:09 +01:00
tests Add files missed by centpkg import. 2024-07-25 16:23:20 +01:00
.gitignore Update to jdk-21.0.5+11 (GA) 2024-10-23 20:45:44 +01:00
alt-java.c Patch and documentation cleanup 2024-07-25 16:30:36 +01:00
CheckVendor.java Create java-21-openjdk package based on java-17-openjdk 2024-07-25 16:22:05 +01:00
fips-21u-0a42e29b391.patch Update to jdk-21.0.3+7 (EA) 2024-08-04 19:42:09 +01:00
gating.yaml Fix gating.yaml to reference RHEL 10 2024-07-30 18:34:43 +01:00
java-21-openjdk-portable.specfile Sync the copy of the portable specfile with the latest update 2024-10-23 20:46:11 +01:00
java-21-openjdk.spec Use compatiblename not name in uniquejavadocdir and uniquesuffix 2024-12-20 10:40:22 -05:00
jconsole.desktop.in Create java-21-openjdk package based on java-17-openjdk 2024-07-25 16:22:05 +01:00
NEWS Update to jdk-21.0.5+11 (GA) 2024-10-23 20:45:44 +01:00
README.md Patch and documentation cleanup 2024-07-25 16:30:36 +01:00
remove-intree-libraries.sh Create java-21-openjdk package based on java-17-openjdk 2024-07-25 16:22:05 +01:00
rpminspect.yaml Add files missed by centpkg import. 2024-07-25 16:23:20 +01:00
sources Update to jdk-21.0.5+11 (GA) 2024-10-23 20:45:44 +01:00
TestCryptoLevel.java Create java-21-openjdk package based on java-17-openjdk 2024-07-25 16:22:05 +01:00
TestECDSA.java Create java-21-openjdk package based on java-17-openjdk 2024-07-25 16:22:05 +01:00
TestSecurityProperties.java Create java-21-openjdk package based on java-17-openjdk 2024-07-25 16:22:05 +01:00
TestTranslations.java Update to jdk-20.0.2+9 2024-07-25 16:28:53 +01:00

OpenJDK 21 is the latest Long-Term Support (LTS) release of the Java platform.

For a list of major changes from OpenJDK 17 (java-17-openjdk), see the upstream release page for OpenJDK 21 and the preceding interim releases:

Rebuilding the OpenJDK package

The OpenJDK packages are now created from a single build which is then packaged for different major versions of Red Hat Enterprise Linux (RHEL). This allows the OpenJDK team to focus their efforts on the development and testing of this single build, rather than having multiple builds which only differ by the platform they were built on.

This does make rebuilding the package slightly more complicated than a normal package. Modifications should be made to the java-21-openjdk-portable.specfile file, which can be found with this README file in the source RPM or installed in the documentation tree by the java-21-openjdk-headless RPM.

Once the modified java-21-openjdk-portable RPMs are built, they should be installed and will produce a number of tarballs in the /usr/lib/jvm directory. The java-21-openjdk RPMs can then be built, which will use these tarballs to create the usual RPMs found in RHEL. The java-21-openjdk-portable RPMs can be uninstalled once the desired final RPMs are produced.

Note that the java-21-openjdk.spec file has a hard requirement on the exact version of java-21-openjdk-portable to use, so this will need to be modified if the version or rpmrelease values are changed in java-21-openjdk-portable.specfile.

To reduce the number of RPMs involved, the fastdebug and slowdebug builds may be disabled using --without fastdebug and --without slowdebug.