Add Chile patches.

This commit is contained in:
Petr Machata 2008-03-05 15:55:13 +00:00
parent 478eb2701e
commit 696a370b69
2 changed files with 31 additions and 1 deletions

24
tzdata-2007k-chile.patch Normal file
View File

@ -0,0 +1,24 @@
diff -urp tzdata/tzdata2007k/southamerica tzdata-pm/tzdata2007k/southamerica
--- tzdata/tzdata2007k/southamerica 2007-12-31 16:24:53.000000000 +0100
+++ tzdata-pm/tzdata2007k/southamerica 2008-03-04 21:34:35.000000000 +0100
@@ -790,6 +790,7 @@ Rule Chile 1998 only - Sep 27 4:00u 1:00
Rule Chile 1999 only - Apr 4 3:00u 0 -
Rule Chile 1999 max - Oct Sun>=9 4:00u 1:00 S
-Rule Chile 2000 max - Mar Sun>=9 3:00u 0 -
+Rule Chile 2000 2007 - Mar Sun>=9 3:00u 0 -
+Rule Chile 2008 max - Mar Sun>=29 3:00u 0 -
# IATA SSIM anomalies: (1992-02) says 1992-03-14;
# (1996-09) says 1998-03-08. Ignore these.
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
--- tzdata-pm/tzdata2007k/antarctica 2007-11-19 23:33:32.000000000 +0100
+++ tzdata/tzdata2007k/antarctica 2008-03-04 22:23:38.000000000 +0100
@@ -53,7 +53,8 @@
Rule ChileAQ 1998 only - Sep 27 4:00u 1:00 S
Rule ChileAQ 1999 only - Apr 4 3:00u 0 -
Rule ChileAQ 1999 max - Oct Sun>=9 4:00u 1:00 S
-Rule ChileAQ 2000 max - Mar Sun>=9 3:00u 0 -
+Rule ChileAQ 2000 2007 - Mar Sun>=9 3:00u 0 -
+Rule ChileAQ 2008 max - Mar Sun>=29 3:00u 0 -
# Argentina - year-round bases

View File

@ -3,7 +3,7 @@ Name: tzdata
Version: 2007k
%define tzdata_version %{version}
%define tzcode_version %{version}
Release: 1%{?dist}
Release: 2%{?dist}
License: Public Domain
Group: System Environment/Base
URL: ftp://elsie.nci.nih.gov/pub/
@ -16,6 +16,7 @@ Source0: tzdata-base-0.tar.bz2
# These are official upstream.
Source1: ftp://elsie.nci.nih.gov/pub/tzdata%{tzdata_version}.tar.gz
Source2: ftp://elsie.nci.nih.gov/pub/tzcode%{tzcode_version}.tar.gz
Patch1: tzdata-2007k-chile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gawk, glibc, perl
@ -47,6 +48,7 @@ tar xzf %{SOURCE2} -C tzcode%{tzcode_version}
sed -e 's|@objpfx@|'`pwd`'/obj/|' \
-e 's|@datadir@|%{_datadir}|' \
Makeconfig.in > Makeconfig
%patch1 -p1
mkdir javazic
tar zxf %{SOURCE3} -C javazic
@ -108,6 +110,10 @@ rm -rf %{buildroot}
%{_datadir}/javazi
%changelog
* Tue Mar 4 2008 Petr Machata <pmachata@redhat.com> - 2007k-2
- Chile moves DST to 29/Mar
- Related: #435959
* Thu Jan 3 2008 Petr Machata <pmachata@redhat.com> - 2007k-1
- Upstream 2007k
- Argentina readopted the daylight saving time