Source: ruby-coveralls 
Version: 0.7.0-2 
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org

Hi,

While working on the "reproducible builds" effort [1], we have noticed
that
ruby-coveralls could not be built reproducibly.

When generating the manpages, ronn uses the local timezone in the
embedded timestamps.

The attached patch fixes this by setting the timezone to UTC before
calling ronn. Once applied, ruby-coveralls can be built reproducibly in
our current experimental framework.

 [1]: https://wiki.debian.org/ReproducibleBuilds

Regards,
-- 
Dhole
diff -Nru ruby-coveralls-0.7.0/debian/changelog 
ruby-coveralls-0.7.0/debian/changelog
--- ruby-coveralls-0.7.0/debian/changelog       2015-12-15 18:17:57.000000000 
+0100
+++ ruby-coveralls-0.7.0/debian/changelog       2016-03-16 22:55:08.000000000 
+0100
@@ -1,3 +1,11 @@
+ruby-coveralls (0.7.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Set a deterministic date in the manpages to make the package build
+    reproducibly. 
+
+ -- Eduard Sanou <dh...@openmailbox.org>  Wed, 16 Mar 2016 22:52:56 +0100
+
 ruby-coveralls (0.7.0-2) unstable; urgency=low
 
   * Add missing B-D on ruby-multi-json. (Closes: #802116).
diff -Nru ruby-coveralls-0.7.0/debian/rules ruby-coveralls-0.7.0/debian/rules
--- ruby-coveralls-0.7.0/debian/rules   2014-03-05 00:51:37.000000000 +0100
+++ ruby-coveralls-0.7.0/debian/rules   2016-03-17 00:15:04.000000000 +0100
@@ -16,7 +16,7 @@
 
 override_dh_auto_build:
        dh_auto_build
-       ronn --roff debian/coveralls.mkd
+       TZ=UTC ronn --roff debian/coveralls.mkd
 
 override_dh_auto_clean:
        dh_auto_clean

Attachment: signature.asc
Description: PGP 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