forked to java-21-openjdk-portable

This commit is contained in:
Jiri 2024-01-11 10:49:04 +01:00
parent a71185e830
commit afd0aac5e9
2 changed files with 21 additions and 19 deletions

View File

@ -1,14 +1,16 @@
This package contains the latest rolling release of OpenJDK. OpenJDK
has a release cadence of six months, with a new release in March and
September each year.
# java-21-openjdk-portable
The current release is OpenJDK 21. For a list of major changes from
OpenJDK 20, see the NEWS file included in this package and the
upstream release page:
The java-21-openjdk-portable package
https://fedoraproject.org/wiki/MoveFedoraJDKsToBecomePortableJDKs
https://openjdk.java.net/projects/jdk/21/
OpenJDK 21 is the latest Long-Term Support (LTS) release of the Java platform.
This package is intended for those who want to follow the latest
OpenJDK releases. Long term support versions of OpenJDK are available
in the java-1.8.0-openjdk, java-11-openjdk and java-17-openjdk
packages.
* https://fedoraproject.org/wiki/Changes/Java21
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:
* 12: https://openjdk.java.net/projects/jdk/18/
* 13: https://openjdk.java.net/projects/jdk/19/
* 14: https://openjdk.java.net/projects/jdk/20/
* 15: https://openjdk.java.net/projects/jdk/21/

View File

@ -13,10 +13,10 @@
# Examples:
#
# 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:
# $ 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:
# $ fedpkg mockbuild --without slowdebug --without fastdebug
@ -393,7 +393,7 @@
%global top_level_dir_name %{vcstag}
%global top_level_dir_name_backup %{top_level_dir_name}-backup
%global buildver 12
%global rpmrelease 4
%global rpmrelease 5
#%%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
%if %is_system_jdk
@ -556,12 +556,9 @@ ExcludeArch: %{ix86}
# this expression, when declared as global, filled component with java-x-vendor portable
%define component %(echo %{name} | sed "s;-portable;;g")
Name: java-latest-%{origin}-portable
Name: java-%{javaver}-%{origin}-portable
Version: %{newjavaver}.%{buildver}
# This package needs `.rolling` as part of Release so as to not conflict on install with
# 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}
Release: %{?eaprefix}%{rpmrelease}%{?extraver}%{?dist}
# 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
# also included the epoch in their virtual provides. This created a
@ -1783,6 +1780,9 @@ done
%endif
%changelog
* Wed Jan 10 2024 Jiri Vanek <jvanek@redhat.com> - 1:21.0.1.0.12-5
* forked to java-21-openjdk-portable
* Wed Dec 13 2023 Jiri Vanek <jvanek@redhat.com> - 1:21.0.1.0.12-3.rolling
- packing generated sources