[packages/tzdata/dev-2020d: 3/6] Use single tzdb tarball (contains tzcode/tzdata, extras)

glen glen at pld-linux.org
Sun Oct 25 13:17:26 CET 2020


commit cfa167f69c86206f53cc18e20aed39da570b4a05
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sun Oct 25 13:43:29 2020 +0200

    Use single tzdb tarball (contains tzcode/tzdata, extras)

 tzdata.spec | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index e7fc346..c0277f7 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -16,12 +16,9 @@ Version:	2020a
 Release:	1
 License:	Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:		Base
-#Source1Download: https://www.iana.org/time-zones
-Source1:	https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz
-# Source1-md5:	96a985bb8eeab535fb8aa2132296763a
-#Source2Download: https://www.iana.org/time-zones
-Source2:	https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz
-# Source2-md5:	f87c3477e85a5c4b00df0def6c6a0055
+#Source0Download: https://www.iana.org/time-zones
+Source0:	https://www.iana.org/time-zones/repository/releases/tzdb-%{version}.tar.lz
+# Source0-md5:	5cd57477719833a3431fde4d882144cf
 Source3:	timezone.init
 Source4:	timezone.sysconfig
 Source5:	javazic.tar.gz
@@ -106,7 +103,7 @@ Header file for timezone database.
 Plik nagłówkowy bazy danych stref czasowych.
 
 %prep
-%setup -qcT -a1 -a2
+%setup -qn tzdb-%{version}
 
 sed -i -e '/tz-art.html/d' tz-link.html
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/050dc002c2f7fcfb916d37e5a4641cc04dc55fe3



More information about the pld-cvs-commit mailing list