SHA256
1
0
forked from pool/timezone

Accepting request 139567 from Base:System

- update to 2012h (bnc#787005):
  * Samoa fall 2012 and later
  * Palestine fall 2012
  * Bahia no longer has DST
  * Tocantins has DST
  * Israel has new DST rules next year
  * Jordan stays on DST this winter

- update to 2012h (bnc#787005):
  * Samoa fall 2012 and later
  * Palestine fall 2012
  * Bahia no longer has DST
  * Tocantins has DST
  * Israel has new DST rules next year
  * Jordan stays on DST this winter

OBS-URL: https://build.opensuse.org/request/show/139567
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/timezone?expand=0&rev=66
This commit is contained in:
Stephan Kulow 2012-10-29 19:13:44 +00:00 committed by Git OBS Bridge
commit f0b8086471
14 changed files with 68 additions and 44 deletions

View File

@ -1,6 +1,8 @@
--- iso3166.tab~ 2009-09-15 00:34:18.941351000 +0200 Index: iso3166.tab
+++ iso3166.tab 2009-09-15 00:34:31.010318000 +0200 ===================================================================
@@ -98,7 +98,7 @@ --- iso3166.tab.orig
+++ iso3166.tab
@@ -101,7 +101,7 @@ FM Micronesia
FO Faroe Islands FO Faroe Islands
FR France FR France
GA Gabon GA Gabon

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Oct 27 10:38:41 UTC 2012 - dmueller@suse.com
- update to 2012h (bnc#787005):
* Samoa fall 2012 and later
* Palestine fall 2012
* Bahia no longer has DST
* Tocantins has DST
* Israel has new DST rules next year
* Jordan stays on DST this winter
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 15 08:38:34 UTC 2012 - frank.lichtenheld@sophos.com Sat Sep 15 08:38:34 UTC 2012 - frank.lichtenheld@sophos.com

View File

@ -25,7 +25,7 @@ License: BSD-3-Clause and SUSE-Public-Domain
Group: System/Base Group: System/Base
# COMMON-BEGIN # COMMON-BEGIN
# COMMON-BEGIN # COMMON-BEGIN
Version: 2012f Version: 2012h
Release: 0 Release: 0
Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz
Source1: ftp://ftp.iana.org/tz/releases/tzcode%{version}.tar.gz Source1: ftp://ftp.iana.org/tz/releases/tzcode%{version}.tar.gz
@ -37,7 +37,7 @@ Patch4: tzcode-link.diff
Patch5: tzcode-symlink.patch Patch5: tzcode-symlink.patch
# COMMON-END # COMMON-END
# COMMON-END # COMMON-END
Url: http://www.iana.org/time-zones Url: http://www.gnu.org/software/libc/libc.html
PreReq: filesystem, coreutils PreReq: filesystem, coreutils
BuildArch: noarch BuildArch: noarch
Provides: tzdata-java = %{version}-%{release} Provides: tzdata-java = %{version}-%{release}

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Oct 27 10:38:41 UTC 2012 - dmueller@suse.com
- update to 2012h (bnc#787005):
* Samoa fall 2012 and later
* Palestine fall 2012
* Bahia no longer has DST
* Tocantins has DST
* Israel has new DST rules next year
* Jordan stays on DST this winter
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Sep 15 08:38:34 UTC 2012 - frank.lichtenheld@sophos.com Sat Sep 15 08:38:34 UTC 2012 - frank.lichtenheld@sophos.com

View File

@ -23,7 +23,7 @@ Group: System/Base
Url: http://www.iana.org/time-zones Url: http://www.iana.org/time-zones
PreReq: filesystem, coreutils PreReq: filesystem, coreutils
# COMMON-BEGIN # COMMON-BEGIN
Version: 2012f Version: 2012h
Release: 0 Release: 0
Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz Source: ftp://ftp.iana.org/tz/releases/tzdata%{version}.tar.gz
Source1: ftp://ftp.iana.org/tz/releases/tzcode%{version}.tar.gz Source1: ftp://ftp.iana.org/tz/releases/tzcode%{version}.tar.gz

View File

@ -2,7 +2,7 @@ Index: Makefile
=================================================================== ===================================================================
--- Makefile.orig --- Makefile.orig
+++ Makefile +++ Makefile
@@ -376,6 +376,7 @@ date: $(DATEOBJS) @@ -385,6 +385,7 @@ date: $(DATEOBJS)
tzselect: tzselect.ksh tzselect: tzselect.ksh
sed \ sed \

View File

@ -1,6 +1,8 @@
--- zic.c 2010-01-06 16:21:33.000000000 +0100 Index: zic.c
+++ zic.c 2010-06-01 01:34:12.000000000 +0200 ===================================================================
@@ -614,6 +614,23 @@ --- zic.c.orig
+++ zic.c
@@ -576,6 +576,23 @@ _("%s: More than one -L option specified
return (errors == 0) ? EXIT_SUCCESS : EXIT_FAILURE; return (errors == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
} }
@ -22,9 +24,9 @@
+} +}
+ +
static void static void
dolink(fromfield, tofield) dolink(const char *const fromfield, const char *const tofield)
const char * const fromfield; {
@@ -649,6 +666,8 @@ @@ -609,6 +626,8 @@ dolink(const char *const fromfield, cons
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
result = link(fromname, toname); result = link(fromname, toname);

View File

@ -1,17 +1,17 @@
Index: timezone-2012e/zic.c Index: timezone-2012h/zic.c
=================================================================== ===================================================================
--- timezone-2012e.orig/zic.c --- timezone-2012h.orig/zic.c
+++ timezone-2012e/zic.c +++ timezone-2012h/zic.c
@@ -113,7 +113,7 @@ static void associate(void); @@ -110,7 +110,7 @@ static int addtype(long gmtoff, const ch
static int ciequal(const char * ap, const char * bp); static void leapadd(zic_t t, int positive, int rolling, int count);
static void convert(long val, char * buf); static void adjleap(void);
static void convert64(zic_t val, char * buf); static void associate(void);
-static void dolink(const char * fromfield, const char * tofield); -static void dolink(const char * fromfield, const char * tofield);
+static void dolink(const char * fromfield, const char * tofield, int defaultsymlink); +static void dolink(const char * fromfield, const char * tofield, int defaultsymlink);
static void doabbr(char * abbr, const char * format, static long eitol(int i);
const char * letters, int isdst, int doquotes); static char ** getfields(char * buf);
static void eat(const char * name, int num); static long gethms(const char * string, const char * errstrng,
@@ -595,7 +595,7 @@ _("%s: More than one -L option specified @@ -558,7 +558,7 @@ _("%s: More than one -L option specified
*/ */
for (i = 0; i < nlinks; ++i) { for (i = 0; i < nlinks; ++i) {
eat(links[i].l_filename, links[i].l_linenum); eat(links[i].l_filename, links[i].l_linenum);
@ -20,31 +20,28 @@ Index: timezone-2012e/zic.c
if (noise) if (noise)
for (j = 0; j < nlinks; ++j) for (j = 0; j < nlinks; ++j)
if (strcmp(links[i].l_to, if (strcmp(links[i].l_to,
@@ -604,19 +604,20 @@ _("%s: More than one -L option specified @@ -567,17 +567,17 @@ _("%s: More than one -L option specified
} }
if (lcltime != NULL) { if (lcltime != NULL) {
eat("command line", 1); eat("command line", 1);
- dolink(lcltime, TZDEFAULT); - dolink(lcltime, TZDEFAULT);
+ dolink(lcltime, TZDEFAULT,TRUE); + dolink(lcltime, TZDEFAULT, TRUE);
} }
if (psxrules != NULL) { if (psxrules != NULL) {
eat("command line", 1); eat("command line", 1);
- dolink(psxrules, TZDEFRULES); - dolink(psxrules, TZDEFRULES);
+ dolink(psxrules, TZDEFRULES,FALSE); + dolink(psxrules, TZDEFRULES, FALSE);
} }
return (errors == 0) ? EXIT_SUCCESS : EXIT_FAILURE; return (errors == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
} }
static void static void
-dolink(fromfield, tofield) -dolink(const char *const fromfield, const char *const tofield)
+dolink(fromfield, tofield, defaultsymlink) +dolink(const char *const fromfield, const char *const tofield, int defaultsymlink)
const char * const fromfield;
const char * const tofield;
+const int defaultsymlink;
{ {
register char * fromname; register char * fromname;
register char * toname; register char * toname;
@@ -641,15 +642,16 @@ const char * const tofield; @@ -602,15 +602,16 @@ dolink(const char *const fromfield, cons
*/ */
if (!itsdir(toname)) if (!itsdir(toname))
(void) remove(toname); (void) remove(toname);

View File

@ -2,14 +2,15 @@ Index: zic.c
=================================================================== ===================================================================
--- zic.c.orig --- zic.c.orig
+++ zic.c +++ zic.c
@@ -665,8 +665,10 @@ const char * const tofield; @@ -625,8 +625,10 @@ dolink(const char *const fromfield, cons
fromname); fromname);
result = symlink(symlinkcontents, result = symlink(symlinkcontents,
toname); toname);
+#if 0 +#if 0
if (result == 0) if (result == 0)
warning(_("hard link failed, symbolic link used")); -warning(_("hard link failed, symbolic link used"));
+ warning(_("hard link failed, symbolic link used"));
+#endif +#endif
ifree(symlinkcontents); free(symlinkcontents);
} }
#endif /* HAVE_SYMLINK */ #endif /* HAVE_SYMLINK */

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f38a096ee1f6c6752946463fdeecf1f0bba422a3e5bdb2eff672d601407ad9d4
size 135543

3
tzcode2012h.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:711883468d59bd20a51faf2abd96219f1ba2390b903e55901c86159530d5bf39
size 135077

View File

@ -2,7 +2,7 @@ Index: asia
=================================================================== ===================================================================
--- asia.orig --- asia.orig
+++ asia +++ asia
@@ -531,6 +531,9 @@ Zone Asia/Kashgar 5:03:56 - LMT 1928 # o @@ -547,6 +547,9 @@ Zone Asia/Kashgar 5:03:56 - LMT 1928 # o
# The Japanese surrender of Hong Kong was signed 1945-09-15. # The Japanese surrender of Hong Kong was signed 1945-09-15.
# For lack of anything better, use start of those days as the transition times. # For lack of anything better, use start of those days as the transition times.
@ -16,7 +16,7 @@ Index: backward
=================================================================== ===================================================================
--- backward.orig --- backward.orig
+++ backward +++ backward
@@ -88,14 +88,13 @@ Link America/Mexico_City Mexico/General @@ -87,14 +87,13 @@ Link America/Mexico_City Mexico/General
Link Pacific/Auckland NZ Link Pacific/Auckland NZ
Link Pacific/Chatham NZ-CHAT Link Pacific/Chatham NZ-CHAT
Link America/Denver Navajo Link America/Denver Navajo

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afe95a49a445ee55391d2d4beccd4be6d61a090d5d8069c407390ff1502c26cc
size 206404

3
tzdata2012h.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65e53218eff4f71f8e7eaa0ae52aecec79e0ba186bd5badc27c099118d4cd065
size 213675