Source: python-cooler
Version: 0.8.8-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: umask filesystem
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
python-cooler could not be built reproducibly.
This is because the /usr/share/doc/python3-cooler/tests.tar.xz file
embedded the build user's user uid, gid and umask. It also was sorted
based on the filesystem order.
Patch attached. (Just an unrelated heads-up that this file is 30MB.)
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
--- a/debian/rules 2020-07-20 11:02:04.230747315 +0100
--- b/debian/rules 2020-07-20 11:08:55.124937866 +0100
@@ -9,4 +9,4 @@
override_dh_installexamples:
dh_installexamples
- cd
debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)
&& tar caf tests.tar.xz tests && rm -rf tests
+ cd
debian/python3-$(PYBUILD_NAME)-examples/usr/share/doc/python3-$(PYBUILD_NAME)
&& tar --create --owner=0 --group=0 --numeric-owner --sort=name --file
tests.tar.xz tests && rm -rf tests