From fe7a115848923a654b2e2044a132d02e5990c073 Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Thu, 10 Jul 2025 00:47:11 +0100 Subject: [PATCH] Add timezone data update check to openjdk_news.sh Related: RHEL-119331 --- java-1.8.0-openjdk.spec | 1 + scripts/openjdk_news.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index 8eedfc4..58d7ab0 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -2722,6 +2722,7 @@ cjc.mainProgram(args) - Add OpenJDK 8u support to get_bundle_versions.sh - Print bundle updates and backouts at end of openjdk_news.sh output - Refer user to get_bundle_versions.sh when bundle updates are found by openjdk_news.sh +- Add timezone data update check to openjdk_news.sh - Related: RHEL-119331 * Sun Oct 05 2025 Antonio Vieiro - 1:1.8.0.462.b08-4 diff --git a/scripts/openjdk_news.sh b/scripts/openjdk_news.sh index 24b3513..a459007 100755 --- a/scripts/openjdk_news.sh +++ b/scripts/openjdk_news.sh @@ -83,7 +83,7 @@ else echo "No apparent backouts."; fi printf "\nChecking for bundled library updates..."; -if grep -iE ': update.*(freetype|gif|harfbuzz|lcms|jpeg|png|zlib)' "${TMPDIR}/fixes" > "${TMPDIR}/bundles"; then +if grep -iE ':( \(tz\))? update.*(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"