Source: seqprep 
Version: 1.1-4 
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 seqprep 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, seqprep can be built reproducibly in our
current experimental framework.

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

Regards,
-- 
Dhole
diff -Nru seqprep-1.1/debian/changelog seqprep-1.1/debian/changelog
--- seqprep-1.1/debian/changelog        2015-09-28 13:46:56.000000000 +0200
+++ seqprep-1.1/debian/changelog        2016-03-17 00:06:55.000000000 +0100
@@ -1,3 +1,11 @@
+seqprep (1.1-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix timezone to UTC when building manpages to get reproducible embedded
+    dates. 
+
+ -- Eduard Sanou <dh...@openmailbox.org>  Thu, 17 Mar 2016 00:06:36 +0100
+
 seqprep (1.1-4) unstable; urgency=medium
 
   * Really apply patch created by Graham Inggs
diff -Nru seqprep-1.1/debian/rules seqprep-1.1/debian/rules
--- seqprep-1.1/debian/rules    2015-09-28 08:12:13.000000000 +0200
+++ seqprep-1.1/debian/rules    2016-03-17 00:06:19.000000000 +0100
@@ -9,7 +9,7 @@
 override_dh_auto_build:
        dh_auto_build
        cp SeqPrep seqprep
-       ronn -r --manual=seqprep --organization='Cancer Therapeutics Innovation 
Group' debian/seqprep.1.ronn
+       TZ=UTC ronn -r --manual=seqprep --organization='Cancer Therapeutics 
Innovation Group' debian/seqprep.1.ronn
        markdown_py -f README.html README.md
 
 override_dh_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