Set buildjdkver to 11

Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
This commit is contained in:
David Abdurachmanov 2021-05-24 18:55:28 +03:00
parent a4777e614b
commit 72d9c1254e
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 5 additions and 2 deletions

View File

@ -286,7 +286,7 @@
# buildjdkver is usually same as %%{featurever},
# but in time of bootstrap of next jdk, it is featurever-1,
# and this it is better to change it here, on single place
%global buildjdkver 16
%global buildjdkver 11
# We don't add any LTS designator for STS packages (this package).
# Neither for Fedora nor EPEL which would have %%{rhel} macro defined.
%global lts_designator ""
@ -1086,7 +1086,7 @@ 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.1.riscv64%{?dist}
Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling.2.riscv64%{?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
@ -2242,6 +2242,9 @@ require "copy_jdk_configs.lua"
%endif
%changelog
* Mon May 24 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1:16.0.1.0.9-2.rolling.2.riscv64
- Set buildjdkver to 11
* Mon May 24 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1:16.0.1.0.9-2.rolling.1.riscv64
- Ignore GDB check for riscv64
- Use OpenJDK 11 to bootstrap