Package: libchado-perl Version: 1.23-3 Severity: wishlist Tags: patch User: [email protected] Usertags: randomness X-Debbugs-Cc: [email protected]
While working on the "reproducible builds" effort [1], we have noticed that this package could not be built reproducibly. The generated configuration file etc/gmod/gmod-chado.conf varies between builds. The attached patch fixes this by sorting the lines. [1]: https://wiki.debian.org/ReproducibleBuilds -- Niko Tyni [email protected]
>From 2a5885254545aab5d0465a2ec47922649b29aaec Mon Sep 17 00:00:00 2001 From: Niko Tyni <[email protected]> Date: Sat, 17 Oct 2015 11:44:57 +0300 Subject: [PATCH] Sort generated build.conf for reproducibility This makes the resulting configuration file stable between builds. --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.PL b/Makefile.PL index b4818bd..9a6655f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -424,7 +424,7 @@ if ( open CONF, ">$build_config" ) { $conf{'VERSION'} = $VERSION; $conf{'SCHEMA'} = $SCHEMA; - print CONF map { "$_=$conf{ $_ }\n" } keys %conf; + print CONF map { "$_=$conf{ $_ }\n" } sort keys %conf; close CONF or die "Can't write file '$build_config': $!\n"; } -- 2.5.1
_______________________________________________ Reproducible-builds mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds
