From 2068d9821110994a2c0642f285b78bdc8e119ad5 Mon Sep 17 00:00:00 2001 From: misaka00251 Date: Mon, 26 Feb 2024 14:23:20 +0800 Subject: [PATCH] Fix build on riscv64 --- openjdk-1.8.0.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/openjdk-1.8.0.spec b/openjdk-1.8.0.spec index dbf6666..942dd85 100644 --- a/openjdk-1.8.0.spec +++ b/openjdk-1.8.0.spec @@ -930,7 +930,7 @@ Provides: java-%{javaver}-%{origin}-accessibility%{?1} = %{epoch}:%{version}-%{r Name: java-%{javaver}-%{origin} Version: %{javaver}.%{updatever}.%{buildver} -Release: 1 +Release: 2 # 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 @@ -1411,6 +1411,9 @@ BuildRequires: nss-softokn-freebl-devel >= 3.16.1 BuildRequires: systemtap-sdt-devel %endif +# Didn't pick this up while building +BuildRequires: libffi-devel + # this is always built, also during debug-only build # when it is built in debug-only this package is just placeholder %{java_rpo %{nil}} @@ -2592,6 +2595,9 @@ cjc.mainProgram(arg) %endif %changelog +* Mon Feb 26 2024 misaka00251 - 1:1.8.0.402-b06.2 +- Fix build on riscv64 + * Wed Jan 31 2024 Leslie Zhai - 1:1.8.0.402-b06.1 - Init support of LoogArch64