From e9f174858088ca2dbf6b660cb965960f808f3a73 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-142799 --- java-25-openjdk.spec | 2 ++ scripts/openjdk_news.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/java-25-openjdk.spec b/java-25-openjdk.spec index 811303b..ebf20aa 100644 --- a/java-25-openjdk.spec +++ b/java-25-openjdk.spec @@ -2640,11 +2640,13 @@ exit 0 - Bump libpng version to 1.6.51 following JDK-8372534 - Bump ID of NSS adapter patch so we can stay in sync with portable on the libpng patch - Test for java.security's existence in create-redhat-properties-files.bash +- Handle 'upgrade' as an alternative to 'update' in openjdk_news.sh - ** This tarball is embargoed until 2026-01-20 @ 1pm PT. ** - Resolves: RHEL-139579 - Resolves: RHEL-131430 - Resolves: RHEL-131443 - Resolves: RHEL-142855 +- Resolves: RHEL-142799 * Sat Dec 06 2025 Andrew Hughes - 1:25.0.1.0.8-6 - Sync the copy of the portable specfile with the latest update 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"