Source: fedmsg
Version: 0.9.3-1
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org
Hi,
While working on the reproducible builds effort [1], we have noticed
that fedmsg could not be built reproducibly.
The attached patch removes random test artefacts from the target debs.
Once applied, fedmsg can be built reproducibly in our reproducible
toolchain.
[1]: https://wiki.debian.org/ReproducibleBuilds
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
diff -urNad
fedmsg.orig/fedmsg-0.9.3/debian/patches/dont_install_test_certs.diff
fedmsg/fedmsg-0.9.3/debian/patches/dont_install_test_certs.diff
--- fedmsg.orig/fedmsg-0.9.3/debian/patches/dont_install_test_certs.diff
1970-01-01 01:00:00.0 +0100
+++ fedmsg/fedmsg-0.9.3/debian/patches/dont_install_test_certs.diff
2015-02-14 19:40:48.631389814 +
@@ -0,0 +1,10 @@
+--- fedmsg-0.9.3.orig/MANIFEST.in
fedmsg-0.9.3/MANIFEST.in
+@@ -4,7 +4,6 @@ include CHANGELOG.rst
+ include dev_certs
+ include logrotate
+ recursive-include dev_certs *
+-recursive-include fedmsg/tests/test_certs *
+ recursive-include extras *
+ recursive-include doc *
+ recursive-include fedmsg.d *.py
diff -urNad fedmsg.orig/fedmsg-0.9.3/debian/patches/series
fedmsg/fedmsg-0.9.3/debian/patches/series
--- fedmsg.orig/fedmsg-0.9.3/debian/patches/series 2015-02-14
19:40:32.882592871 +
+++ fedmsg/fedmsg-0.9.3/debian/patches/series 2015-02-14 19:40:46.151264303
+
@@ -1,3 +1,4 @@
default_prefix
remove_references_to_external_resources_in_docs.diff
fix_tests_path.diff
+dont_install_test_certs.diff