From 3a8b62aaac7148ff1d0c2b50c7647a7da3c3c882 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-142696 --- java-1.8.0-openjdk.spec | 2 ++ scripts/openjdk_news.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index d82b699..e443428 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -2727,12 +2727,14 @@ cjc.mainProgram(args) - Bump LCMS 2 version to 2.14.0 following JDK-8297088 - 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 - ** This tarball is embargoed until 2026-01-20 @ 1pm PT. ** - Resolves: RHEL-142689 - Resolves: RHEL-139521 - Resolves: RHEL-131446 - Resolves: RHEL-131459 - Resolves: RHEL-142865 +- Resolves: RHEL-142696 * Sat Oct 18 2025 Andrew Hughes - 1:1.8.0.472.b08-2 - Bump rpmrelease for CentOS build 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"