diff --git a/openjdk-latest.spec b/openjdk-latest.spec index af25bde9e3f948c8d737575d8755a11bf1ed2c56..b15c2335877b2edf8db22ee38803f4b42c082754 100644 --- a/openjdk-latest.spec +++ b/openjdk-latest.spec @@ -22,6 +22,9 @@ # Enable release builds by default on relevant arches. %bcond_without release +# Disable global LTO +%define _lto_cflags %{nil} + # The -g flag says to use strip -g instead of full strip on DSOs or EXEs. # This fixes detailed NMT and other tools which need minimal debug info. %global _find_debuginfo_opts -g @@ -179,7 +182,7 @@ %global top_level_dir_name %{origin} %global minorver 0 %global buildver 11 -%global rpmrelease 2 +%global rpmrelease 3 # 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 %global priority %( printf '%02d%02d%02d%02d' %{majorver} %{minorver} %{securityver} %{buildver} ) @@ -898,7 +901,7 @@ Name: java-latest-%{origin} 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 -Release: %{rpmrelease}.rolling +Release: %{rpmrelease} # 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 @@ -1795,6 +1798,9 @@ cjc.mainProgram(args) -- the returns from copy_jdk_configs.lua should not affect %changelog +* Wed Mar 26 2025 Whitney33 - 1:23.0.1.11-3 +- fix condigure arguments, disable global lto + * Thu Nov 28 2024 Dingli Zhang - 1:23.0.1.11-2.rolling - Adopt suitable buildjdkver to build by itself - Modify release and rpmrelease in spec