]> git.pld-linux.org Git - packages/tzdata.git/commitdiff
Use single version macro
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 25 Oct 2020 11:33:52 +0000 (13:33 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Sun, 25 Oct 2020 11:36:33 +0000 (13:36 +0200)
The code/data published together and previous changes require they came
from same version, otherwise unclear which version of README to keep.

tzdata.spec

index 288cc23f805bf7cbb4a84b4ff8a3be3a6b5b9237..e7fc3461651d65b285086607e6a4508d76a4d36b 100644 (file)
@@ -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
This page took 0.043888 seconds and 4 git commands to generate.