Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package java-26-openjdk for openSUSE:Factory
checked in at 2026-05-29 18:10:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/java-26-openjdk (Old)
and /work/SRC/openSUSE:Factory/.java-26-openjdk.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "java-26-openjdk"
Fri May 29 18:10:20 2026 rev:2 rq:1355816 version:26.0.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/java-26-openjdk/java-26-openjdk.changes
2026-03-18 16:51:12.550798063 +0100
+++
/work/SRC/openSUSE:Factory/.java-26-openjdk.new.1937/java-26-openjdk.changes
2026-05-29 18:11:28.773319460 +0200
@@ -1,0 +2,64 @@
+Fri May 29 08:06:42 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Use libalternatives instead of update-alternatives for
+ distributions where libalternatives is available
+
+-------------------------------------------------------------------
+Fri May 29 07:15:04 UTC 2026 - Fridrich Strba <[email protected]>
+
+- Update to upstream tag jdk-26.0.1+8 (April 2026 CPU)
+ * CVEs
+ + CVE-2026-22007 (bsc#1262490)
+ + CVE-2026-22008 (bsc#1262493)
+ + CVE-2026-22013 (bsc#1262494)
+ + CVE-2026-22016 (bsc#1262495)
+ + CVE-2026-22018 (bsc#1262496)
+ + CVE-2026-22021 (bsc#1262497)
+ + CVE-2026-23865 (bsc#1259118)
+ + CVE-2026-34268 (bsc#1262500)
+ + CVE-2026-34282 (bsc#1262501)
+ * Changes
+ + JDK-8348014: Enhance certificate processing
+ + JDK-8364373: Transform Affine transformations
+ + JDK-8364465: Enhance behavior of some intrinsics
+ + JDK-8367463: Improved Arena allocations
+ + JDK-8369575: Enhance crypto algorithm support
+ + JDK-8370489: Some compiler tests miss the @key randomness
+ + JDK-8370529: Enhance Path Factories Redux
+ + JDK-8370615: Improve Kerberos credentialing
+ + JDK-8370986: Enhance Zip file reading
+ + JDK-8370995: Enhance ZipFile usage
+ + JDK-8371830: Enhance certificate chain validation
+ + JDK-8371935: Enhance key generation
+ + JDK-8372589: VM crashes on init when NonNMethodCodeHeapSize is
+ set too small and UseTransparentHugePages is enabled
+ + JDK-8372592: Adjust logger usage in java2d tests
+ + JDK-8372661: Add a null-safe static factory method to
+ "jdk.test.lib.net.SimpleSSLContext"
+ + JDK-8373290: Update FreeType to 2.14.1
+ + JDK-8373476: (tz) Update Timezone Data to 2025c
+ + JDK-8373520: Bump update version for OpenJDK: jdk26u to 26.0.1
+ + JDK-8373625: CPUTimeCounters creates a total counter for
+ unsupported GCs
+ + JDK-8373632: Some sound tests failing in CI due to lack of
+ sound key
+ + JDK-8373793: TestDynamicStore.java '/manual' disables use of
+ '/timeout'
+ + JDK-8374434: Several JShell tests report JUnit discovery
+ warnings
+ + JDK-8374557: Enhance TLS connection handling
+ + JDK-8374644: Regression in GZIPInputStream performance after
+ JDK-7036144
+ + JDK-8375063: Update Libpng to 1.6.54
+ + JDK-8375094: RISC-V: Fix client builds after JDK-8368732
+ + JDK-8375530: PPC64: incorrect quick verify_method_data_pointer
+ check causes poor performance in debug build
+ + JDK-8375657: RISC-V: Need to check size in
+ SharedRuntime::is_wide_vector
+ + JDK-8375994: Change milestone to fcs for all releases
+ + JDK-8377905: gcc.md included with every build
+ + JDK-8378623: Use unique font names in FormatCharAdvanceTest
+ + JDK-8379035: (tz) Update Timezone Data to 2026a
+ + JDK-8379158: Update FreeType to 2.14.2
+
+-------------------------------------------------------------------
Old:
----
jdk-26+35.tar.gz
New:
----
jdk-26.0.1+8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ java-26-openjdk.spec ++++++
--- /var/tmp/diff_new_pack.LFGh6g/_old 2026-05-29 18:11:33.073498534 +0200
+++ /var/tmp/diff_new_pack.LFGh6g/_new 2026-05-29 18:11:33.073498534 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package java-25-openjdk
+# spec file for package java-26-openjdk
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,6 +23,10 @@
%global make make
%global is_release 1
%global buildoutputdir build
+%global headless_binaries java keytool rmiregistry
+%global headless_binaries_comma %(echo %{headless_binaries} | sed 's#\ #,#g')
+%global devel_binaries javac jar jarsigner javadoc javap jcmd jconsole jdb
jdeprscan jdeps jimage jinfo jlink jmap jmod jps jpackage jrunscript jshell
jstack jstat jstatd serialver
+%global devel_binaries_comma %(echo %{devel_binaries} | sed 's#\ #,#g')
# Convert an absolute path to a relative path. Each symbolic link is
# specified relative to the directory in which it is installed so that
# it will resolve properly within chrooted installations.
@@ -33,11 +37,16 @@
# Standard JPackage naming and versioning defines.
%global featurever 26
%global interimver 0
-#global updatever 0
-%global buildver 35
+%global updatever 1
+%global buildver 8
%global openjdk_repo jdk26u
%global openjdk_tag
jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}+%{buildver}
%global openjdk_dir
%{openjdk_repo}-jdk-%{featurever}%{?updatever:.%{interimver}.%{updatever}}%{?patchver:.%{patchver}}-%{buildver}
+%if 0%{?suse_version} > 1500
+%bcond_without libalternatives
+%else
+%bcond_with libalternatives
+%endif
# priority must be 6 digits in total
#global priority 3605
%global priority 0
@@ -129,7 +138,7 @@
Version: %{package_version}
Release: 0
Summary: OpenJDK %{featurever} Runtime Environment
-License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND
GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only
AND MPL-1.0 AND MPL-1.1 AND SUSE-Public-Domain AND W3C
+License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND
GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only
AND MPL-1.0 AND MPL-1.1 AND LicenseRef-SUSE-Public-Domain AND W3C
Group: Development/Languages/Java
URL: https://openjdk.java.net/
# Sources from upstream OpenJDK project.
@@ -266,11 +275,7 @@
Group: Development/Languages/Java
Requires: jpackage-utils
Requires: mozilla-nss
-# Post requires update-alternatives to install tool update-alternatives.
-Requires(post): update-alternatives
Requires(posttrans): java-ca-certificates
-# Postun requires update-alternatives to uninstall tool update-alternatives.
-Requires(postun): update-alternatives
Recommends: mozilla-nss-sysinit
Obsoletes: %{name}-accessibility
%if 0%{?suse_version} > 1315 || 0%{?java_bootstrap}
@@ -294,6 +299,12 @@
Provides: jndi-rmi = %{version}
Provides: jsse = %{version}
%endif
+%if %{without libalternatives}
+Requires(post): update-alternatives
+# Postun requires update-alternatives to uninstall tool update-alternatives.
+%else
+Requires: alts
+%endif
%description headless
The OpenJDK %{featurever} runtime environment without audio and video support.
@@ -303,10 +314,6 @@
# Require base package.
Group: Development/Languages/Java
Requires: %{name} = %{version}-%{release}
-# Post requires update-alternatives to install tool update-alternatives.
-Requires(post): update-alternatives
-# Postun requires update-alternatives to uninstall tool update-alternatives.
-Requires(postun): update-alternatives
%if 0%{?suse_version} > 1315 || 0%{?java_bootstrap}
# Standard JPackage devel provides.
Provides: java-%{javaver}-devel = %{version}
@@ -317,6 +324,12 @@
Provides: java-sdk-%{javaver}-openjdk = %{version}
Provides: java-sdk-openjdk = %{version}
%endif
+%if %{without libalternatives}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%else
+Requires: alts
+%endif
%description devel
The OpenJDK %{featurever} development tools.
@@ -349,16 +362,16 @@
Summary: OpenJDK %{featurever} API Documentation
Group: Development/Languages/Java
Requires: jpackage-utils
-# Post requires update-alternatives to install javadoc alternative.
-Requires(post): update-alternatives
-# Postun requires update-alternatives to uninstall javadoc alternative.
-Requires(postun): update-alternatives
BuildArch: noarch
%if 0%{?suse_version} > 1315 || 0%{?java_bootstrap}
# Standard JPackage javadoc provides.
Provides: java-%{javaver}-javadoc = %{version}-%{release}
Provides: java-javadoc = %{version}-%{release}
%endif
+%if %{without libalternatives}
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+%endif
%description javadoc
The OpenJDK %{featurever} API documentation.
@@ -445,7 +458,7 @@
--with-version-pre="" \
%endif
--with-version-build="%{buildver}" \
- --with-version-opt="suse-%{suse_version}-%{_arch}" \
+ --with-version-opt="suse-0%{?suse_version}-%{_arch}" \
%if %{with zero}
--with-jvm-variants=zero \
%else
@@ -606,8 +619,42 @@
%fdupes -s %{buildroot}/%{_jvmdir}/%{sdkdir}/demo
%fdupes -s %{buildroot}%{_javadocdir}/%{sdklnk}
+touch .mfiles-headless
+touch .mfiles-devel
+
+%if %{with libalternatives}
+
+%if 0%{?priority} == 0
+%define priority %{featurever}
+%endif
+
+for i in %{headless_binaries}; do
+ install -dm 0755 %{buildroot}%{_datadir}/libalternatives/${i}
+ echo "%%dir %{_datadir}/libalternatives/${i}" >> .mfiles-headless
+ echo "binary=%{jrebindir}/${i}" >>
%{buildroot}%{_datadir}/libalternatives/${i}/%{priority}.conf
+ echo "man=${i}-%{sdklnk}.1$ext" >>
%{buildroot}%{_datadir}/libalternatives/${i}/%{priority}.conf
+ echo "group=%{headless_binaries_comma}" >>
%{buildroot}%{_datadir}/libalternatives/${i}/%{priority}.conf
+ echo "%{_datadir}/libalternatives/${i}/%{priority}.conf" >> .mfiles-headless
+ echo "%%ghost %{_bindir}/${i}" >> .mfiles-headless
+done
+
+for i in %{devel_binaries}; do
+ install -dm 0755 %{buildroot}%{_datadir}/libalternatives/${i}
+ echo "%%dir %{_datadir}/libalternatives/${i}" >> .mfiles-devel
+ echo "binary=%{sdkbindir}/${i}" >>
%{buildroot}%{_datadir}/libalternatives/${i}/%{priority}.conf
+ echo "man=${i}-%{sdklnk}.1$ext" >>
%{buildroot}%{_datadir}/libalternatives/${i}/%{priority}.conf
+ echo "group=%{devel_binaries_comma}" >>
%{buildroot}%{_datadir}/libalternatives/${i}/%{priority}.conf
+ echo "%{_datadir}/libalternatives/${i}/%{priority}.conf" >> .mfiles-devel
+ echo "%%ghost %{_bindir}/${i}" >> .mfiles-devel
+done
+
+%endif
+
%post headless
ext=.gz
+
+%if %{without libalternatives}
+
update-alternatives \
--install %{_bindir}/java java %{jrebindir}/java %{priority} \
--slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \
@@ -621,7 +668,25 @@
--install %{_jvmdir}/jre-%{javaver} \
jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority}
+%else
+
+if [ -x %{_sbindir}/update-alternatives ]; then
+ update-alternatives --remove-all java
+ update-alternatives --remove-all jre_openjdk
+ update-alternatives --remove-all jre_%{javaver}
+fi || true
+
+for i in %{headless_binaries}; do
+ if ! [ -e %{_bindir}/${i} ]; then
+ ln -sf %{_bindir}/alts %{_bindir}/${i}
+ fi
+done
+
+%endif
+
+%if %{without libalternatives}
%postun headless
+
if [ $1 -eq 0 ]
then
if test -f /proc/sys/fs/binfmt_misc/jarexec
@@ -632,6 +697,7 @@
update-alternatives --remove jre_openjdk %{_jvmdir}/%{jrelnk}
update-alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk}
fi
+%endif
%posttrans headless
# bnc#781690#c11: don't trust user defined JAVA_HOME and use the current VM
@@ -664,6 +730,9 @@
%post devel
ext=.gz
+
+%if %{without libalternatives}
+
update-alternatives \
--install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \
--slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \
@@ -703,15 +772,37 @@
--install %{_jvmdir}/java-%{javaver} \
java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority}
+%else
+
+if [ -x %{_sbindir}/update-alternatives ]; then
+ update-alternatives --remove-all javac
+ update-alternatives --remove-all java_sdk_openjdk
+ update-alternatives --remove-all java_sdk_%{javaver}
+fi || true
+
+for i in %{devel_binaries}; do
+ if ! [ -e %{_bindir}/${i} ]; then
+ ln -sf %{_bindir}/alts %{_bindir}/${i}
+ fi
+done
+
+%endif
+
+%if %{without libalternatives}
%postun devel
+
if [ $1 -eq 0 ]
then
update-alternatives --remove javac %{sdkbindir}/javac
update-alternatives --remove java_sdk_openjdk %{_jvmdir}/%{sdklnk}
update-alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk}
fi
+%endif
%post javadoc
+
+%if %{without libalternatives}
+
# in some settings, the %{_javadocdir}/%{sdklnk}/api does not exist
# and the update-alternatives call ends up in error. So, filter this
# cases out.
@@ -722,7 +813,17 @@
%{priority}
fi
+%else
+
+if [ -x %{_sbindir}/update-alternatives ]; then
+ update-alternatives --remove-all javadocdir
+fi || true
+
+%endif
+
+%if %{without libalternatives}
%postun javadoc
+
if [ $1 -eq 0 ]
then
# in some settings, the %{_javadocdir}/%{sdklnk}/api does not exist
@@ -733,6 +834,7 @@
update-alternatives --remove javadocdir %{_javadocdir}/%{sdklnk}/api
fi
fi
+%endif
%files
%dir %{_jvmdir}/%{sdkdir}/lib
@@ -742,7 +844,7 @@
%dir %{_datadir}/icons/hicolor
%{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png
-%files headless
+%files headless -f .mfiles-headless
%dir %{_jvmdir}
%dir %{_jvmdir}/%{sdkdir}/
%dir %{_jvmdir}/%{sdkdir}/bin
@@ -850,7 +952,7 @@
#{_jvmdir}/%{sdkdir}/lib/security/default.policy
%{_jvmdir}/%{sdkdir}/lib/security/public_suffix_list.dat
-%files devel
+%files devel -f .mfiles-devel
%dir %{_jvmdir}/%{sdkdir}/bin
%dir %{_jvmdir}/%{sdkdir}/include
%dir %{_jvmdir}/%{sdkdir}/include/linux
++++++ jdk-26+35.tar.gz -> jdk-26.0.1+8.tar.gz ++++++
/work/SRC/openSUSE:Factory/java-26-openjdk/jdk-26+35.tar.gz
/work/SRC/openSUSE:Factory/.java-26-openjdk.new.1937/jdk-26.0.1+8.tar.gz
differ: char 44, line 1