]> git.pld-linux.org Git - packages/tzdata.git/blobdiff - tzdata.spec
up to 2013c
[packages/tzdata.git] / tzdata.spec
index 2bfbaa264e2a3e7f41555c2f234e45a31e58f6da..9f4ad9ab2cb136266c4e5486beb244fccecacdc4 100644 (file)
@@ -9,13 +9,13 @@
 %endif
 %endif
 
-%define                tzcode_ver      2012a
-%define                tzdata_ver      2012a
+%define                tzcode_ver      2013c
+%define                tzdata_ver      2013c
 Summary:       Timezone data
 Summary(pl.UTF-8):     Dane o strefach czasowych
 Name:          tzdata
 Version:       %{tzdata_ver}
-Release:       3
+Release:       1
 License:       Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:         Base
 # The tzdata-base-0.tar.bz2 is a simple building infrastructure and
@@ -26,11 +26,11 @@ Source0:    %{name}-base-0.tar.bz2
 # Source0-md5: e36d2f742c22f8c8dbf0686ac9769b55
 # ftp://elsie.nci.nih.gov/pub/ has been shut down because of lawsuit
 #Source1Download: http://www.iana.org/time-zones/
-Source1:       http://www.iana.org/time-zones/repository/releases/%{name}%{tzdata_ver}.tar.gz
-# Source1-md5: cc43867f4768e5c2e8315d9b3cac62ed
+Source1:       ftp://ftp.iana.org/tz/releases/%{name}%{tzdata_ver}.tar.gz
+# Source1-md5: b5062217a2dea6823dd69b4dda97b249
 #Source2Download: http://www.iana.org/time-zones/
-Source2:       http://www.iana.org/time-zones/repository/releases/tzcode%{tzcode_ver}.tar.gz
-# Source2-md5: a72bb8c29893ee3bfd1101aca29d4064
+Source2:       ftp://ftp.iana.org/tz/releases/tzcode%{tzcode_ver}.tar.gz
+# Source2-md5: 69d333d829802af4475707e32fa01681
 Source3:       timezone.init
 Source4:       timezone.sysconfig
 Source5:       javazic.tar.gz
@@ -109,6 +109,8 @@ Plik nagłówkowy bazy danych stref czasowych.
 %setup -qc
 mv tzdata/* .
 %{__tar} xzf %{SOURCE1} -C tzdata
+# don't override Makefile from base tar
+mv tzdata/Makefile{,.tzdata}
 install -d tzcode
 %{__tar} xzf %{SOURCE2} -C tzcode
 %patch2 -p1
@@ -171,7 +173,7 @@ install -d $RPM_BUILD_ROOT{/etc/{sysconfig,rc.d/init.d},%{_mandir}/man5,%{_inclu
 %endif
 
 # glibc.spec didn't keep it. so won't here either.
-rm -rf $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posix
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posix
 # behave more like glibc.spec
 ln -sf %{_sysconfdir}/localtime        $RPM_BUILD_ROOT%{_datadir}/zoneinfo/localtime
 ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixtime
This page took 0.060181 seconds and 4 git commands to generate.