From cf1b465e2483e7b3e7f04cd2d047ede4959062a0 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Mon, 7 Oct 2024 21:20:55 +0300 Subject: [PATCH] import tzdata-2024a-2.el9 --- SOURCES/8051641.patch | 17 +++++++++++++++++ SPECS/tzdata.spec | 15 ++++++++++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 SOURCES/8051641.patch diff --git a/SOURCES/8051641.patch b/SOURCES/8051641.patch new file mode 100644 index 0000000..4f5be47 --- /dev/null +++ b/SOURCES/8051641.patch @@ -0,0 +1,17 @@ +diff -r c8a71253d6e2 -r 189490f29d1e make/src/classes/build/tools/tzdb/ZoneRulesBuilder.java +--- javazic-1.8/build/tools/tzdb/ZoneRulesBuilder.java Thu Oct 23 11:42:20 2014 +0200 ++++ javazic-1.8/build/tools/tzdb/ZoneRulesBuilder.java Mon Dec 29 21:42:22 2014 +0300 +@@ -491,10 +491,10 @@ + TZRule rule = new TZRule(year, month, dayOfMonthIndicator, dayOfWeek, time, timeEndOfDay, timeDefinition, savingAmountSecs); + if (lastRule) { + lastRuleList.add(rule); +- maxLastRuleStartYear = Math.max(startYear, maxLastRuleStartYear); + } else { + ruleList.add(rule); + } ++ maxLastRuleStartYear = Math.max(startYear, maxLastRuleStartYear); + year++; + } + } +-- +cgit v0.9.2 diff --git a/SPECS/tzdata.spec b/SPECS/tzdata.spec index 2e54ef4..e503d04 100644 --- a/SPECS/tzdata.spec +++ b/SPECS/tzdata.spec @@ -3,7 +3,7 @@ Name: tzdata Version: 2024a %define tzdata_version 2024a %define tzcode_version 2024a -Release: 1%{?dist}.inferit +Release: 2%{?dist}.inferit License: Public Domain URL: https://www.iana.org/time-zones Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz @@ -34,6 +34,7 @@ Patch101: rebase-01.patch Patch102: rebase-02.patch Patch103: 7090844.patch Patch104: 7133138.patch +Patch105: 8051641.patch # MSVSphere patches Patch1001: 1001-Fix-Simferopol-country.patch @@ -87,6 +88,7 @@ find . -type f -name '*.java' -print0 \ popd tar xf %{SOURCE4} +%patch105 echo "%{name}%{tzdata_version}" >> VERSION @@ -156,6 +158,10 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/ %{_datadir}/javazi-1.8 %changelog +* Thu Mar 14 2024 Patsy Griffin - 2024a-2 +- Add java patch to fix incorrect calculations for + Africa/Casablanca starting in 2027. (RHEL-26860) + * Thu Feb 01 2024 Patsy Griffin - 2024a-1 - Rebase to tzdata-2024a - Kazakhstan will transition from UTC+6 to UTC+5 on 2024-03-01. @@ -189,8 +195,11 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/ - Morocco springs forward April 23, not April 30. - Palestine delayed the start of DST this year. -* Wed Mar 15 2023 MSVSphere Packaging Team - 2022g-2 -- Rebuilt for MSVSphere 9.1. +* Wed Mar 22 2023 Patsy Griffin - 2023a-1 +- Rebase to tzdata-2023a + - Egypt reintroduced DST, from April through October. + - Morocco springs forward April 23, not April 30. + - Palestine delayed the start of DST this year. * Fri Jan 6 2023 Patsy Griffin - 2022g-2 - Include leap-seconds.list in tzdata install. (#2157982)