From c265baadde64e4f1c31c70d61de8ffa30506b07b Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 25 Nov 2025 11:04:11 +0300 Subject: [PATCH] Use el8 for all arches except riscv --- java-25-openjdk.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/java-25-openjdk.spec b/java-25-openjdk.spec index 90f7f93..f45a6b0 100644 --- a/java-25-openjdk.spec +++ b/java-25-openjdk.spec @@ -395,8 +395,12 @@ %endif %if 0%{?almalinux} +%ifarch riscv64 %global portablesuffix el10 -%endif +%else +%global portablesuffix el9 +%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 @@ -2557,7 +2561,7 @@ exit 0 %changelog * Mon Nov 24 2025 Eduard Abdullin - 1:25.0.1.0.8-2.alma.1 -- Use el10 portable packages +- Use el9 portable packages * Wed Nov 12 2025 Andrew Hughes - 1:25.0.1.0.8-2 - Remove superfluous backslashes that cause two alternative commands to be combined