[packages/tzdata/dev-2020d: 2/6] Use single version macro
glen
glen at pld-linux.org
Sun Oct 25 13:17:21 CET 2020
commit 5ffa79e127571f8786fddf7112588c4f3e85732e
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Sun Oct 25 13:33:52 2020 +0200
Use single version macro
The code/data published together and previous changes require they came
from same version, otherwise unclear which version of README to keep.
tzdata.spec | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index 288cc23..e7fc346 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -9,21 +9,18 @@
%endif
%endif
-%define tzcode_ver 2020a
-%define tzdata_ver 2020a
Summary: Timezone data
Summary(pl.UTF-8): Dane o strefach czasowych
Name: tzdata
-Version: %{tzdata_ver}
+Version: 2020a
Release: 1
License: Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
Group: Base
-# ftp://elsie.nci.nih.gov/pub/ has been shut down because of lawsuit
-#Source1Download: http://www.iana.org/time-zones/
-Source1: ftp://ftp.iana.org/tz/releases/%{name}%{tzdata_ver}.tar.gz
+#Source1Download: https://www.iana.org/time-zones
+Source1: https://www.iana.org/time-zones/repository/releases/tzdata%{version}.tar.gz
# Source1-md5: 96a985bb8eeab535fb8aa2132296763a
-#Source2Download: http://www.iana.org/time-zones/
-Source2: ftp://ftp.iana.org/tz/releases/tzcode%{tzcode_ver}.tar.gz
+#Source2Download: https://www.iana.org/time-zones
+Source2: https://www.iana.org/time-zones/repository/releases/tzcode%{version}.tar.gz
# Source2-md5: f87c3477e85a5c4b00df0def6c6a0055
Source3: timezone.init
Source4: timezone.sysconfig
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/050dc002c2f7fcfb916d37e5a4641cc04dc55fe3
More information about the pld-cvs-commit
mailing list