Resolves: RHEL-26860
- Add java patch to fix incorrect calculations for Africa/Casablanca starting in 2027. (RHEL-26860)
This commit is contained in:
parent
6d2a27df4c
commit
26f35410f1
17
8051641.patch
Normal file
17
8051641.patch
Normal file
@ -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
|
@ -3,7 +3,7 @@ Name: tzdata
|
|||||||
Version: 2024a
|
Version: 2024a
|
||||||
%define tzdata_version 2024a
|
%define tzdata_version 2024a
|
||||||
%define tzcode_version 2024a
|
%define tzcode_version 2024a
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
URL: https://www.iana.org/time-zones
|
URL: https://www.iana.org/time-zones
|
||||||
Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz
|
Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz
|
||||||
@ -34,6 +34,7 @@ Patch101: rebase-01.patch
|
|||||||
Patch102: rebase-02.patch
|
Patch102: rebase-02.patch
|
||||||
Patch103: 7090844.patch
|
Patch103: 7090844.patch
|
||||||
Patch104: 7133138.patch
|
Patch104: 7133138.patch
|
||||||
|
Patch105: 8051641.patch
|
||||||
|
|
||||||
%description java
|
%description java
|
||||||
This package contains timezone information for use by Java runtimes.
|
This package contains timezone information for use by Java runtimes.
|
||||||
@ -82,6 +83,7 @@ find . -type f -name '*.java' -print0 \
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
tar xf %{SOURCE4}
|
tar xf %{SOURCE4}
|
||||||
|
%patch105
|
||||||
|
|
||||||
echo "%{name}%{tzdata_version}" >> VERSION
|
echo "%{name}%{tzdata_version}" >> VERSION
|
||||||
|
|
||||||
@ -151,6 +153,10 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/
|
|||||||
%{_datadir}/javazi-1.8
|
%{_datadir}/javazi-1.8
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 14 2024 Patsy Griffin <patsy@redhat.com> - 2024a-2
|
||||||
|
- Add java patch to fix incorrect calculations for
|
||||||
|
Africa/Casablanca starting in 2027. (RHEL-26860)
|
||||||
|
|
||||||
* Thu Feb 01 2024 Patsy Griffin <patsy@redhat.com> - 2024a-1
|
* Thu Feb 01 2024 Patsy Griffin <patsy@redhat.com> - 2024a-1
|
||||||
- Rebase to tzdata-2024a
|
- Rebase to tzdata-2024a
|
||||||
- Kazakhstan will transition from UTC+6 to UTC+5 on 2024-03-01.
|
- Kazakhstan will transition from UTC+6 to UTC+5 on 2024-03-01.
|
||||||
|
Loading…
Reference in New Issue
Block a user