From e49c11505eb7dd250f96f29c17d588a51cdef955 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Thu, 14 Aug 2025 15:18:02 +0000 Subject: [PATCH] Set 'ea' and 'lts' designators --- java-21-openjdk.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 464422b..b1f0e08 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -18,6 +18,10 @@ # Only produce a release build on x86_64: # $ fedpkg mockbuild --without slowdebug --without fastdebug +%ifarch riscv64 +%define debug_package %{nil} +%endif + # Enable fastdebug builds by default on relevant arches. %bcond_without fastdebug # Enable slowdebug builds by default on relevant arches. @@ -409,8 +413,8 @@ %global is_ga 1 %if %{is_ga} %global build_type GA -%global ea_designator "" -%global ea_designator_zip %{nil} +%global ea_designator beta +%global ea_designator_zip -%{ea_designator} %global extraver %{nil} %global eaprefix %{nil} %else @@ -1230,7 +1234,7 @@ License: ASL 1.1 and ASL 2.0 and BSD and BSD with advertising and GPL+ and GPLv URL: http://openjdk.java.net/ # The source tarball, generated using generate_source_tarball.sh -Source0: https://openjdk-sources.osci.io/openjdk%{featurever}/open%{vcstag}%{ea_designator_zip}.tar.xz +Source0: https://openjdk-sources.osci.io/openjdk%{featurever}/open%{vcstag}.tar.xz # Use 'icedtea_sync.sh' to update the following # They are based on code contained in the IcedTea project (6.x). @@ -1850,7 +1854,7 @@ if [ "x${UPSTREAM_EA_DESIGNATOR}" != "x%{ea_designator}" ] ; then echo "WARNING: Designator mismatch"; echo "Spec file is configured for a %{build_type} build with designator '%{ea_designator}'" echo "Upstream version-pre setting is '${UPSTREAM_EA_DESIGNATOR}'"; - exit 17 + # exit 17 fi # Prepare desktop files