Package: tzdata
Version: 2019c-1
The upstream tzdata by default installs a file /usr/share/zoneinfo/tzdata.zi
that contains version info along with the exact source used to generate the TZif
binary files. This file was introduced in tzdb 2017c but apparently Debian
hasn't picked it up yet. It is installed by Fedora, and I assume by other
distributions. Please add it to Debian too. Proposed patch attached.
diff -pru src-1/debian/rules src-2/debian/rules
--- src-1/debian/rules 2019-09-11 14:01:07.000000000 -0700
+++ src-2/debian/rules 2019-09-20 13:19:23.657688442 -0700
@@ -47,6 +47,9 @@ override_dh_auto_build-indep:
# Generate a posixrules file
/usr/sbin/zic -d $(TZGEN) -p America/New_York
+ # Generate a tzdata.zi file
+ $(MAKE) VERSION_DEPS= tzdata.zi
+
# Replace hardlinks by symlinks
rdfind -outputname /dev/null -makesymlinks true -removeidentinode false $(TZGEN)
symlinks -r -s -c $(TZGEN)
diff -pru src-1/debian/tzdata.install src-2/debian/tzdata.install
--- src-1/debian/tzdata.install 2018-07-09 15:46:15.000000000 -0700
+++ src-2/debian/tzdata.install 2019-09-20 13:16:09.977451131 -0700
@@ -1,6 +1,7 @@
debian/tzconfig /usr/sbin
tzgen/* usr/share/zoneinfo/
iso3166.tab usr/share/zoneinfo/
+tzdata.zi usr/share/zoneinfo/
zone.tab usr/share/zoneinfo/
zone1970.tab usr/share/zoneinfo/
leap-seconds.list usr/share/zoneinfo/