- Pakistan introduces DST

This commit is contained in:
Petr Machata 2008-05-23 17:07:27 +00:00
parent d1e55e4682
commit f6afebba05
2 changed files with 19 additions and 1 deletions

13
tzdata-karachi.patch Normal file
View File

@ -0,0 +1,13 @@
diff -urp tzdata/tzdata2008b/asia tzdata-pm/tzdata2008b/asia
--- tzdata/tzdata2008b/asia 2008-03-24 13:30:58.000000000 +0100
+++ tzdata-pm/tzdata2008b/asia 2008-05-19 13:00:50.000000000 +0200
@@ -1465,6 +1465,8 @@ Zone Asia/Muscat 3:54:20 - LMT 1920
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
Rule Pakistan 2002 only - Apr Sun>=2 0:01 1:00 S
Rule Pakistan 2002 only - Oct Sun>=2 0:01 0 -
+Rule Pakistan 2008 only - Jun 1 0:01 1:00 S
+Rule Pakistan 2008 only - Aug 31 0:01 0 -
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
Zone Asia/Karachi 4:28:12 - LMT 1907
5:30 - IST 1942 Sep
Only in tzdata-pm/tzdata2008b: asia~

View File

@ -3,7 +3,7 @@ Name: tzdata
Version: 2008b
%define tzdata_version %{version}
%define tzcode_version 2008a
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-karachi.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
@ -107,6 +109,9 @@ rm -rf %{buildroot}
%{_datadir}/javazi
%changelog
* Fri May 23 2008 Petr Machata <pmachata@redhat.com> - 2008b-2
- Pakistan introduces DST
* Wed Mar 26 2008 Petr Machata <pmachata@redhat.com> - 2008b-1
- Upstream 2008b
- DST changes for Syria, Cuba; Iraq abandons DST