From 72df43cb750d34445b029fa3add4265148335cf4 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Thu, 14 Aug 2025 14:23:54 +0000 Subject: [PATCH] Use portablesuffix el10 for riscv64 --- java-21-openjdk.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 014e22c..464422b 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -382,8 +382,12 @@ %global portablebuilddir /builddir/build/BUILD %if 0%{?almalinux} +%ifarch riscv64 +%global portablesuffix el10 +%else %global portablesuffix el8 %endif +%endif # 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