Use OpenJDK 11 and ignore GDB check

Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
David Abdurachmanov 2021-05-24 17:29:13 +03:00
parent a46faec420
commit a4777e614b
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
1 changed files with 7 additions and 3 deletions

View File

@ -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.0.riscv64%{?dist}
Release: %{?eaprefix}%{rpmrelease}%{?extraver}.rolling.1.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
@ -1213,7 +1213,7 @@ BuildRequires: pkgconfig
BuildRequires: xorg-x11-proto-devel
BuildRequires: zip
BuildRequires: javapackages-filesystem
BuildRequires: java-latest-openjdk-devel
BuildRequires: java-11-openjdk-devel
# Zero-assembler build requirement
%ifnarch %{jit_arches}
BuildRequires: libffi-devel
@ -1866,7 +1866,7 @@ EOF
# This fails on s390x for some reason. Disable for now. See:
# https://koji.fedoraproject.org/koji/taskinfo?taskID=41499227
%ifnarch s390x
%ifnarch s390x riscv64
grep 'JavaCallWrapper::JavaCallWrapper' gdb.out
%endif
@ -2242,6 +2242,10 @@ 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.1.riscv64
- Ignore GDB check for riscv64
- Use OpenJDK 11 to bootstrap
* Fri May 07 2021 David Abdurachmanov <david.abdurachmanov@gmail.com> - 1:16.0.1.0.9-2.rolling.0.riscv64
- Add support for RISC-V (riscv64)