Package: fonts-uralic Version: 0.0.20040829-5 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: timestamps X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi! While conducting a study in the spirit of the "reproducible builds" practice [1], we have noticed that fonts-uralic could not be built reproducibly. The attached patch removes timezone-varying timestamps from the files extracted with unzip. Once applied, fonts-uralic can be built reproducibly, which is validated using reprotest. [1]: https://wiki.debian.org/ReproducibleBuilds
diff -Nru fonts-uralic-0.0.20040829/debian/changelog fonts-uralic-0.0.20040829/debian/changelog --- fonts-uralic-0.0.20040829/debian/changelog 2014-10-05 21:06:19.000000000 +0800 +++ fonts-uralic-0.0.20040829/debian/changelog 2017-02-06 19:42:35.000000000 +0800 @@ -1,3 +1,9 @@ +fonts-uralic (0.0.20040829-5.0~reproducible1) UNRELEASED; urgency=low + + * Make the package reproducible by add TZ environment for unzip + + -- Z. Ren <z...@dlut.edu.cn> Mon, 06 Feb 2017 19:42:35 +0800 + fonts-uralic (0.0.20040829-5) unstable; urgency=low * Update Standards to 3.9.6 (checked) diff -Nru fonts-uralic-0.0.20040829/debian/rules fonts-uralic-0.0.20040829/debian/rules --- fonts-uralic-0.0.20040829/debian/rules 2014-10-05 20:37:22.000000000 +0800 +++ fonts-uralic-0.0.20040829/debian/rules 2017-02-06 19:42:27.000000000 +0800 @@ -4,5 +4,5 @@ override_dh_install: - find upstream -name "*.zip" -exec unzip -Lj {} "*.ttf" -d$(CURDIR)/debian/fonts-uralic/usr/share/fonts/truetype/uralic ';' -print + find upstream -name "*.zip" -exec TZ=UTC unzip -Lj {} "*.ttf" -d$(CURDIR)/debian/fonts-uralic/usr/share/fonts/truetype/uralic ';' -print