[Debian-med-packaging] Bug#818431: seqprep: please make the build reproducible
Dhole
dhole at openmailbox.org
Wed Mar 16 23:44:56 UTC 2016
Source: seqprep
Version: 1.1-4
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: locale
X-Debbugs-Cc: reproducible-builds at 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
-------------- next part --------------
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 <dhole at 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:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160317/87a97655/attachment.sig>
More information about the Debian-med-packaging
mailing list