322 |
# New Version-String scheme-style defines |
# New Version-String scheme-style defines |
323 |
%global featurever 11 |
%global featurever 11 |
324 |
%global interimver 0 |
%global interimver 0 |
325 |
%global updatever 17 |
%global updatever 18 |
326 |
%global patchver 0 |
%global patchver 0 |
327 |
# If you bump featurever, you must bump also vendor_version_string |
# If you bump featurever, you must bump also vendor_version_string |
328 |
# Used via new version scheme. JDK 11 was |
# Used via new version scheme. JDK 11 was |
350 |
%global origin_nice OpenJDK |
%global origin_nice OpenJDK |
351 |
%global top_level_dir_name %{origin} |
%global top_level_dir_name %{origin} |
352 |
%global top_level_dir_name_backup %{top_level_dir_name}-backup |
%global top_level_dir_name_backup %{top_level_dir_name}-backup |
353 |
%global buildver 8 |
%global buildver 10 |
354 |
%global rpmrelease 1 |
%global rpmrelease 1 |
355 |
#%%global tagsuffix %%{nil} |
#%%global tagsuffix %%{nil} |
356 |
# 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 |
1113 |
# Require javapackages-filesystem for ownership of /usr/lib/jvm/ and macros |
# Require javapackages-filesystem for ownership of /usr/lib/jvm/ and macros |
1114 |
Requires: javapackages-filesystem |
Requires: javapackages-filesystem |
1115 |
# Require zone-info data provided by tzdata-java sub-package |
# Require zone-info data provided by tzdata-java sub-package |
1116 |
# 2022d required as of JDK-8294357 |
# 2022g required as of JDK-8297804 |
1117 |
# Should be bumped to 2022e once available (JDK-8295173) |
Requires: tzdata-java >= 2022g |
|
Requires: tzdata-java >= 2022d |
|
1118 |
# for support of kernel stream control |
# for support of kernel stream control |
1119 |
# libsctp.so.1 is being `dlopen`ed on demand |
# libsctp.so.1 is being `dlopen`ed on demand |
1120 |
Requires: lksctp-tools%{?_isa} |
Requires: lksctp-tools%{?_isa} |
1234 |
|
|
1235 |
Name: java-%{javaver}-%{origin} |
Name: java-%{javaver}-%{origin} |
1236 |
Version: %{newjavaver}.%{buildver} |
Version: %{newjavaver}.%{buildver} |
1237 |
Release: %mkrel %{?eaprefix}%{rpmrelease}%{?extraver}.1 |
Release: %mkrel %{?eaprefix}%{rpmrelease}%{?extraver} |
1238 |
# 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 |
1239 |
# 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 |
1240 |
# also included the epoch in their virtual provides. This created a |
# also included the epoch in their virtual provides. This created a |
1388 |
# able to be removed once that release is out |
# able to be removed once that release is out |
1389 |
# and used by this RPM. |
# and used by this RPM. |
1390 |
############################################# |
############################################# |
|
# JDK-8293834: Update CLDR data following tzdata 2022c update |
|
|
Patch2001: jdk8293834-kyiv_cldr_update.patch |
|
|
# JDK-8294357: (tz) Update Timezone Data to 2022d |
|
|
Patch2002: jdk8294357-tzdata2022d.patch |
|
|
# JDK-8295173: (tz) Update Timezone Data to 2022e |
|
|
Patch2003: jdk8295173-tzdata2022e.patch |
|
1391 |
|
|
1392 |
BuildRequires: autoconf |
BuildRequires: autoconf |
1393 |
BuildRequires: automake |
BuildRequires: automake |
1426 |
%ifarch %{zero_arches} |
%ifarch %{zero_arches} |
1427 |
BuildRequires: libffi-devel |
BuildRequires: libffi-devel |
1428 |
%endif |
%endif |
1429 |
# 2022d required as of JDK-8294357 |
# 2022g required as of JDK-8297804 |
1430 |
# Should be bumped to 2022e once available (JDK-8295173) |
BuildRequires: tzdata-java >= 2022g |
|
BuildRequires: tzdata-java >= 2022d |
|
1431 |
# Earlier versions have a bug in tree vectorization on PPC |
# Earlier versions have a bug in tree vectorization on PPC |
1432 |
BuildRequires: gcc >= 4.8.3-8 |
BuildRequires: gcc >= 4.8.3-8 |
1433 |
BuildRequires: rootcerts-java |
BuildRequires: rootcerts-java |
1756 |
popd # openjdk |
popd # openjdk |
1757 |
|
|
1758 |
%patch1000 |
%patch1000 |
|
pushd %{top_level_dir_name} |
|
|
# tzdata updates targetted for 17.0.6 |
|
|
%patch2001 -p1 |
|
|
%patch2002 -p1 |
|
|
%patch2003 -p1 |
|
|
popd # openjdk |
|
1759 |
%patch600 |
%patch600 |
1760 |
%patch1001 |
%patch1001 |
1761 |
%patch1002 |
%patch1002 |