[tzdata/f17] Chile is changing DTS rules

Petr Machata pmachata at fedoraproject.org
Wed Feb 27 16:43:39 UTC 2013


commit ff5d6120ae6cfad6b5c1c6c6f49e3a92438bd03c
Author: Petr Machata <pmachata at redhat.com>
Date:   Wed Feb 27 17:40:28 2013 +0100

    Chile is changing DTS rules

 0016-Chile-is-changing-its-DST-rules.patch |   70 ++++++++++++++++++++++++++++
 tzdata.spec                                |    8 +++-
 2 files changed, 77 insertions(+), 1 deletions(-)
---
diff --git a/0016-Chile-is-changing-its-DST-rules.patch b/0016-Chile-is-changing-its-DST-rules.patch
new file mode 100644
index 0000000..2869dc5
--- /dev/null
+++ b/0016-Chile-is-changing-its-DST-rules.patch
@@ -0,0 +1,70 @@
+From cec2e7019a42e7b154b3e78993d8716d33ca6062 Mon Sep 17 00:00:00 2001
+From: Paul Eggert <eggert at cs.ucla.edu>
+Date: Wed, 20 Feb 2013 23:40:23 -0800
+Subject: [PATCH 16/16] Chile is changing its DST rules.
+
+Thanks to Steffen Thorsen for the heads-up, in
+<http://mm.icann.org/pipermail/tz/2013-February/018623.html>.
+* antarctica (ChileAQ):
+* southamerica (Chile):
+Assume the 2012 rules will continue indefinitely.  Suggested by Robert
+Elz in <http://mm.icann.org/pipermail/tz/2013-February/018636.html>.
+---
+ antarctica   |    6 ++----
+ southamerica |   16 +++++++++-------
+ 2 files changed, 11 insertions(+), 11 deletions(-)
+
+diff --git a/antarctica b/antarctica
+index f55cbde..d55924b 100644
+--- a/antarctica
++++ b/antarctica
+@@ -50,10 +50,8 @@ Rule	ChileAQ	2009	only	-	Mar	Sun>=9	3:00u	0	-
+ Rule	ChileAQ	2010	only	-	Apr	Sun>=1	3:00u	0	-
+ Rule	ChileAQ	2011	only	-	May	Sun>=2	3:00u	0	-
+ Rule	ChileAQ	2011	only	-	Aug	Sun>=16	4:00u	1:00	S
+-Rule	ChileAQ	2012	only	-	Apr	Sun>=23	3:00u	0	-
+-Rule	ChileAQ	2012	only	-	Sep	Sun>=2	4:00u	1:00	S
+-Rule	ChileAQ	2013	max	-	Mar	Sun>=9	3:00u	0	-
+-Rule	ChileAQ	2013	max	-	Oct	Sun>=9	4:00u	1:00	S
++Rule	ChileAQ	2012	max	-	Apr	Sun>=23	3:00u	0	-
++Rule	ChileAQ	2012	max	-	Sep	Sun>=2	4:00u	1:00	S
+ 
+ # These rules are stolen from the `australasia' file.
+ Rule	AusAQ	1917	only	-	Jan	 1	0:01	1:00	-
+diff --git a/southamerica b/southamerica
+index 671d09b..f77142e 100644
+--- a/southamerica
++++ b/southamerica
+@@ -1240,9 +1240,13 @@ Zone America/Rio_Branco	-4:31:12 -	LMT	1914
+ # b. Saturday, September 1, 2012, clocks should go forward 60 minutes; that is,
+ # at 23:59:59, instead of passing to 0:00, the time should be adjusted to be
+ # 01:00 on September 2.
+-#
+-# Note that...this is yet another "temporary" change that will be reevaluated
+-# AGAIN in 2013.
++
++# From Steffen Thorsen (2013-02-15):
++# According to several news sources, Chile has extended DST this year,
++# they will end DST later and start DST earlier than planned.  They
++# hope to save energy.  The new end date is 2013-04-28 00:00 and new
++# start date is 2013-09-08 00:00....
++# http://www.gob.cl/informa/2013/02/15/gobierno-anuncia-fechas-de-cambio-de-hora-para-el-ano-2013.htm
+ 
+ # NOTE: ChileAQ rules for Antarctic bases are stored separately in the
+ # 'antarctica' file.
+@@ -1285,10 +1289,8 @@ Rule	Chile	2009	only	-	Mar	Sun>=9	3:00u	0	-
+ Rule	Chile	2010	only	-	Apr	Sun>=1	3:00u	0	-
+ Rule	Chile	2011	only	-	May	Sun>=2	3:00u	0	-
+ Rule	Chile	2011	only	-	Aug	Sun>=16	4:00u	1:00	S
+-Rule	Chile	2012	only	-	Apr	Sun>=23	3:00u	0	-
+-Rule	Chile	2012	only	-	Sep	Sun>=2	4:00u	1:00	S
+-Rule	Chile	2013	max	-	Mar	Sun>=9	3:00u	0	-
+-Rule	Chile	2013	max	-	Oct	Sun>=9	4:00u	1:00	S
++Rule	Chile	2012	max	-	Apr	Sun>=23	3:00u	0	-
++Rule	Chile	2012	max	-	Sep	Sun>=2	4:00u	1:00	S
+ # IATA SSIM anomalies: (1992-02) says 1992-03-14;
+ # (1996-09) says 1998-03-08.  Ignore these.
+ # Zone	NAME		GMTOFF	RULES	FORMAT	[UNTIL]
+-- 
+1.7.6.5
+
diff --git a/tzdata.spec b/tzdata.spec
index fdd6b99..d56444b 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -3,13 +3,14 @@ Name: tzdata
 Version: 2012j
 %define tzdata_version 2012j
 %define tzcode_version 2012j
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Public Domain
 Group: System Environment/Base
 URL: https://www.iana.org/time-zones
 Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz
 Source1: ftp://ftp.iana.org/tz/releases/tzcode%{tzcode_version}.tar.gz
 # __decl_patches
+Patch0: 0016-Chile-is-changing-its-DST-rules.patch
 # __end
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -37,6 +38,7 @@ This package contains timezone information for use by Java runtimes.
 %setup -q -c -a 1
 
 # __apply_patches
+%patch0 -p1
 # __end
 
 mkdir javazic
@@ -98,6 +100,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/javazi
 
 %changelog
+* Wed Feb 27 2013 Petr Machata <pmachata at redhat.com> - 2012j-2
+- DTS in Chile will end on 2013-04-28
+  (0016-Chile-is-changing-its-DST-rules.patch)
+
 * Fri Nov 30 2012 Petr Machata <pmachata at redhat.com> - 2012j-1
 - Upstream 2012j
   - Libya moved to CET


More information about the scm-commits mailing list