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 # java-21-openjdk-portable
has a release cadence of six months, with a new release in March and
September each year.
The current release is OpenJDK 21. For a list of major changes from The java-21-openjdk-portable package
OpenJDK 20, see the NEWS file included in this package and the https://fedoraproject.org/wiki/MoveFedoraJDKsToBecomePortableJDKs
upstream release page:
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 * https://fedoraproject.org/wiki/Changes/Java21
OpenJDK releases. Long term support versions of OpenJDK are available
in the java-1.8.0-openjdk, java-11-openjdk and java-17-openjdk For a list of major changes from OpenJDK 17 (java-17-openjdk), see the upstream
packages. 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: # 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
@ -393,7 +393,7 @@
%global top_level_dir_name %{vcstag} %global top_level_dir_name %{vcstag}
%global top_level_dir_name_backup %{top_level_dir_name}-backup %global top_level_dir_name_backup %{top_level_dir_name}-backup
%global buildver 12 %global buildver 12
%global rpmrelease 4 %global rpmrelease 5
#%%global tagsuffix %%{nil} #%%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 # 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 %if %is_system_jdk
@ -556,12 +556,9 @@ ExcludeArch: %{ix86}
# this expression, when declared as global, filled component with java-x-vendor portable # this expression, when declared as global, filled component with java-x-vendor portable
%define component %(echo %{name} | sed "s;-portable;;g") %define component %(echo %{name} | sed "s;-portable;;g")
Name: java-latest-%{origin}-portable Name: java-%{javaver}-%{origin}-portable
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
@ -1783,6 +1780,9 @@ done
%endif %endif
%changelog %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 * Wed Dec 13 2023 Jiri Vanek <jvanek@redhat.com> - 1:21.0.1.0.12-3.rolling
- packing generated sources - packing generated sources