forked from java-latest-openjdk

This commit is contained in:
Jiri Vanek 2024-01-19 13:08:18 +01:00
parent 059263c774
commit 7127ba35af
2 changed files with 12 additions and 14 deletions

View File

@ -1,11 +1,9 @@
Rolling release of (usually) STSs OpenJDK OpenJDK 21 is the latest Long-Term Support (LTS) release of the Java platform.
OpenJDK has release cadence of 6 months, but 3/4 of them are Short Term Supported for 6 months only. This package is designed to harbor them. Currently it is build of OpenJDK 21. LTSs will go also as separate packages.
JDK21 is current release of Java platform. It is bringing many cool improvements - https://openjdk.java.net/projects/jdk/12/ and is landing to your Fedora. Where it will be maintained for f28 and newer. Unluckily, this package is STS (short term support) version. Between individual LTS there will be always several STS. Again, please see announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html and See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf . So this is rolling release of all STSs to come. Its fate during the release of fresh LTS is yet to be decided. You will always be allowed to install LTS in fedora build root, alongside with latest STS via alternatives. * https://fedoraproject.org/wiki/Changes/Java21
For a list of major changes from OpenJDK 17 (java-17-openjdk), see the upstream
See announcement: http://mail.openjdk.java.net/pipermail/discuss/2017-September/004281.html release page for OpenJDK 17 and the preceding interim releases:
See java SIG plans: https://jvanek.fedorapeople.org/devconf/2018/changesInjavaReleaseProcess.pdf
* 18: https://openjdk.java.net/projects/jdk/18 * 18: https://openjdk.java.net/projects/jdk/18
* 19: https://openjdk.java.net/projects/jdk/19 * 19: https://openjdk.java.net/projects/jdk/19

View File

@ -5,10 +5,10 @@
# Examples: # Examples:
# #
# Produce release, fastdebug *and* slowdebug builds on x86_64 (default): # Produce release, fastdebug *and* slowdebug builds on x86_64 (default):
# $ rpmbuild -ba java-latest-openjdk.spec # $ rpmbuild -ba java-21-openjdk.spec
# #
# Produce only release builds (no debug builds) on x86_64: # Produce only release builds (no debug builds) on x86_64:
# $ rpmbuild -ba java-latest-openjdk.spec --without slowdebug --without fastdebug # $ rpmbuild -ba java-21-openjdk.spec --without slowdebug --without fastdebug
# #
# Only produce a release build on x86_64: # Only produce a release build on x86_64:
# $ fedpkg mockbuild --without slowdebug --without fastdebug # $ fedpkg mockbuild --without slowdebug --without fastdebug
@ -1251,12 +1251,9 @@ Provides: java-%{origin}-src%{?1} = %{epoch}:%{version}-%{release}
# the version must match, but sometmes we need to more precise, so including release # the version must match, but sometmes we need to more precise, so including release
%global portable_version %{version}-1 %global portable_version %{version}-1
Name: java-latest-%{origin} Name: java-21-%{origin}
Version: %{newjavaver}.%{buildver} Version: %{newjavaver}.%{buildver}
# This package needs `.rolling` as part of Release so as to not conflict on install with Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}
# java-X-openjdk. I.e. when latest rolling release is also an LTS release packaged as
# java-X-openjdk. See: https://bugzilla.redhat.com/show_bug.cgi?id=1647298
Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling%{?dist}
# java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons
# and this change was brought into RHEL-4. java-1.5.0-ibm packages # and this change was brought into RHEL-4. java-1.5.0-ibm packages
# also included the epoch in their virtual provides. This created a # also included the epoch in their virtual provides. This created a
@ -2419,6 +2416,9 @@ cjc.mainProgram(args)
%endif %endif
%changelog %changelog
* Sat Jan 20 2024 Jiri Vanek <jvanek@redhat.com> - 1:21.0.2.0.13-1
* forked from java-latest-openjdk
* Sat Jan 20 2024 Jiri Vanek <jvanek@redhat.com> - 1:21.0.2.0.13-1 * Sat Jan 20 2024 Jiri Vanek <jvanek@redhat.com> - 1:21.0.2.0.13-1
- Update to jdk-21.0.2+13 (GA) - Update to jdk-21.0.2+13 (GA)
@ -2495,7 +2495,7 @@ cjc.mainProgram(args)
* Mon Jan 30 2023 Petra Alice Mikova <pmikova@redhat.com> - 1:19.0.2.0.7-3.rolling * Mon Jan 30 2023 Petra Alice Mikova <pmikova@redhat.com> - 1:19.0.2.0.7-3.rolling
- return libfreetype.so binary to resolve requires problems - return libfreetype.so binary to resolve requires problems
- remove BuildRequires: java-latest-openjdk - remove BuildRequires: java-21-openjdk
* Thu Jan 26 2023 Jiri Vanek <jvanek@redhat.com> - 1:19.0.2.0.7-2.rolling * Thu Jan 26 2023 Jiri Vanek <jvanek@redhat.com> - 1:19.0.2.0.7-2.rolling
- repacked portables - repacked portables