File make-builds-reproducible.patch of Package perl-Module-Build

Index: Module-Build-0.4211/lib/Module/Build/Dumper.pm
===================================================================
--- Module-Build-0.4211.orig/lib/Module/Build/Dumper.pm
+++ Module-Build-0.4211/lib/Module/Build/Dumper.pm
@@ -11,8 +11,11 @@ use Data::Dumper;
 
 sub _data_dump {
   my ($self, $data) = @_;
+  
+  my $dumper = Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0);
+  $dumper->Sortkeys(1);
   return ("do{ my "
-	  . Data::Dumper->new([$data],['x'])->Purity(1)->Terse(0)->Dump()
+	  . $dumper->Dump()
 	  . '$x; }')
 }
 
openSUSE Build Service is sponsored by