From 733beae7b85e2cd5e56917b963726aa999fcb14e 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-142820 --- 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 e8aa026..83f0735 100644 --- a/java-21-openjdk.spec +++ b/java-21-openjdk.spec @@ -2573,11 +2573,13 @@ cjc.mainProgram(args) - 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-142859 - Resolves: RHEL-139560 - Resolves: RHEL-131592 - Resolves: RHEL-131602 - Resolves: RHEL-122121 +- Resolves: RHEL-142820 - ** 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"