From 699e83c9cf754442fb3c36764c2518a057076fd0 Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Fri, 16 Jan 2026 19:02:46 +0000 Subject: [PATCH] Handle 'upgrade' as an alternative to 'update' in openjdk_news.sh Resolves: RHEL-142815 --- java-21-openjdk.spec | 2 ++ scripts/openjdk_news.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/java-21-openjdk.spec b/java-21-openjdk.spec index 45f79b2..d860dcb 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -2477,11 +2477,13 @@ exit 0 - Update release notes to 21.0.10+7 - Bump libpng version to 1.6.51 following JDK-8372534 - Update FIPS patch to include nss.fips.cfg that grants CKA_ENCRYPT +- Handle 'upgrade' as an alternative to 'update' in openjdk_news.sh - Resolves: RHEL-142857 - Resolves: RHEL-139565 - Resolves: RHEL-131428 - Resolves: RHEL-131441 - Resolves: RHEL-142861 +- Resolves: RHEL-142815 - ** This tarball is embargoed until 2026-01-20 @ 1pm PT. ** * Sat Oct 18 2025 Andrew Hughes - 1:21.0.9.0.10-2 diff --git a/scripts/openjdk_news.sh b/scripts/openjdk_news.sh index 9574915..dd3ff66 100755 --- a/scripts/openjdk_news.sh +++ b/scripts/openjdk_news.sh @@ -98,7 +98,7 @@ else echo "No apparent backouts."; fi printf "\nChecking for bundled library updates..."; -if grep -iE ':( \(tz\))? update.*(freetype|gif|harfbuzz|lcms|jpeg|png|timezone|zlib)' "${TMPDIR}/fixes" > "${TMPDIR}/bundles"; then +if grep -iE ':( \(tz\))? (update|upgrade).*(freetype|gif|harfbuzz|lcms|jpeg|png|timezone|zlib)' "${TMPDIR}/fixes" > "${TMPDIR}/bundles"; then printf "found.\nWARNING: Review the following with respect to bundled provides:\n"; cat "${TMPDIR}/bundles"; echo "Compare the output of $(dirname "${0}")/get_bundle_versions.sh with the RPM using the JDK source tree"