File: reproducible_build

package info (click to toggle)
libxml-sax-expatxs-perl 1.33-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 692 kB
  • sloc: perl: 295; xml: 148; ansic: 27; sh: 10; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 762 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: make builds reproducible by sorting hash keys
 cf. https://reproducible.debian.net/dbd/unstable/amd64/libxml-sax-expatxs-perl_1.33-1.debbindiff.html
Origin: vendor
Bug-Debian: https://bugs.debian.org/778978
Author: Chris Lamb <lamby@debian.org>
Reviewed-by: gregor herrmann <gregoa@debian.org>
Last-Update: 2015-05-02
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=104162
Bug: https://rt.cpan.org/Ticket/Display.html?id=104162

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -152,7 +152,7 @@
 		      comment       => [qw(DocumentHandler LexicalHandler Handler)],
                      );
 
-    for my $ev (keys %EVENT_SPEC) {
+    for my $ev (sort keys %EVENT_SPEC) {
         $code .= <<"        EOTOPCODE";
 sub get_$ev {
     my \$self = shift;