Source: jsmath-fonts-sprite
Version: 1.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-builds@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
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 <dh...@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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to