[Reproducible-builds] Bug#792597: jsmath-fonts-sprite: please make the build reproducible
Dhole
dhole at openmailbox.org
Thu Jul 16 15:26:09 UTC 2015
Source: jsmath-fonts-sprite
Version: 1.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Hi,
While working on the "reproducible builds" effort [1], we have noticed
that jsmath-fonts-sprite could not be built reproducibly.
The attached patch removes timezone-varying timestamps from the
files extracted with unzip. Once applied, jsmath-fonts-sprite can be
built reproducibly in our reproducible toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
Dhole
-------------- next part --------------
diff -Nru jsmath-fonts-sprite-1.0/debian/changelog jsmath-fonts-sprite-1.0/debian/changelog
--- jsmath-fonts-sprite-1.0/debian/changelog 2014-03-23 21:25:14.000000000 +0100
+++ jsmath-fonts-sprite-1.0/debian/changelog 2015-07-15 19:11:45.000000000 +0200
@@ -1,3 +1,11 @@
+jsmath-fonts-sprite (1.0-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * add TZ=UTC before unzip in debian/rules to make the files mtime
+ invariant to timezone to make the package build reproducibly.
+
+ -- Dhole <dhole at openmailbox.org> Wed, 15 Jul 2015 19:11:31 +0200
+
jsmath-fonts-sprite (1.0-3) unstable; urgency=medium
* Adopted the package. Closes: #621474
diff -Nru jsmath-fonts-sprite-1.0/debian/rules jsmath-fonts-sprite-1.0/debian/rules
--- jsmath-fonts-sprite-1.0/debian/rules 2014-03-23 21:28:14.000000000 +0100
+++ jsmath-fonts-sprite-1.0/debian/rules 2015-07-15 19:09:56.000000000 +0200
@@ -16,7 +16,7 @@
dh $@
override_dh_auto_build:
- unzip -q -d jsMath jsMath-*.zip
+ TZ=UTC unzip -q -d jsMath jsMath-*.zip
override_dh_clean:
dh_clean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150716/d833efe9/attachment.sig>
More information about the Reproducible-builds
mailing list