Source: python-support Version: 1.0.15 Severity: wishlist Tags: patch User: reproducible-builds@lists.alioth.debian.org Usertags: toolchain fileordering
Hi! While working on the “reproducible builds” effort [1], we have noticed that dh_pysupport does not sort the files listed in /usr/share/python-support/$package.private. Packages including these files are slightly different on each build. The attached patch is sorting the file list before it is written. Regards, Reiner [1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debhelper/dh_pysupport b/debhelper/dh_pysupport index 606510c..56f7b59 100644 --- a/debhelper/dh_pysupport +++ b/debhelper/dh_pysupport @@ -303,7 +303,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { if ( $useversion ) { print FILELIST "pyversion=$useversion\n\n"; } - print FILELIST map "$_\n", @filelist; + print FILELIST map "$_\n", sort @filelist; close(FILELIST); $do_scripts = "$do_scripts $package.private"; } diff --git a/debian/changelog b/debian/changelog index b55737b..d48009e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +python-support (1.0.15+reproducible1) UNRELEASED; urgency=low + + * dh_pysupport: sort list of files written into package.private. + + -- Reiner Herrmann <rei...@reiner-h.de> Mon, 19 Jan 2015 20:08:11 +0100 + python-support (1.0.15) unstable; urgency=low [ Jakub Wilk ]
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds