Hello community, here is the log from the commit of package perl-Alien-SDL for openSUSE:Factory checked in at 2019-06-20 18:55:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Alien-SDL (Old) and /work/SRC/openSUSE:Factory/.perl-Alien-SDL.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Alien-SDL" Thu Jun 20 18:55:27 2019 rev:9 rq:710926 version:1.446 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Alien-SDL/perl-Alien-SDL.changes 2017-07-08 12:33:20.367424620 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Alien-SDL.new.4811/perl-Alien-SDL.changes 2019-06-20 18:55:50.772882470 +0200 @@ -1,0 +2,5 @@ +Wed Jun 19 12:44:41 UTC 2019 - Bernhard Wiedemann <[email protected]> + +- Extend reproducible.patch to sort file lists (boo#1041090) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ reproducible.patch ++++++ --- /var/tmp/diff_new_pack.LHV4IK/_old 2019-06-20 18:55:52.612884990 +0200 +++ /var/tmp/diff_new_pack.LHV4IK/_new 2019-06-20 18:55:52.628885012 +0200 @@ -1,9 +1,28 @@ +https://github.com/PerlGameDev/Alien-SDL/pull/6 https://rt.cpan.org/Public/Bug/Display.html?id=119888 -Index: Alien-SDL-1.446/inc/My/Builder/Unix.pm -=================================================================== ---- Alien-SDL-1.446.orig/inc/My/Builder/Unix.pm -+++ Alien-SDL-1.446/inc/My/Builder/Unix.pm + +From 573a2c6971d78a751238a1b408d588769e6710d6 Mon Sep 17 00:00:00 2001 +From: "Bernhard M. Wiedemann" <[email protected]> +Date: Mon, 18 Sep 2017 10:36:16 +0200 +Subject: [PATCH 1/2] Sort hash keys + +When building packages (e.g. for openSUSE Linux) in disposable VMs +every build gave a different result. +This patch fixes this by sorting hash keys + +See https://reproducible-builds.org/ for why this matters. + +was also filed at +https://rt.cpan.org/Public/Bug/Display.html?id=119888 +--- + inc/My/Builder/Unix.pm | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/inc/My/Builder/Unix.pm b/inc/My/Builder/Unix.pm +index 15291d5..ad3e600 100644 +--- a/inc/My/Builder/Unix.pm ++++ b/inc/My/Builder/Unix.pm @@ -18,7 +18,7 @@ sub get_additional_cflags { my $self = shift; my @list = (); @@ -22,3 +41,30 @@ if ($^O eq 'openbsd') { my $osver = `uname -r 2>/dev/null`; if ($self->notes('perl_libs')->{pthread} || ($osver && $osver < 5.0)) { + +From 088244849360b485c56268d2e497563d52868fb0 Mon Sep 17 00:00:00 2001 +From: "Bernhard M. Wiedemann" <[email protected]> +Date: Wed, 19 Jun 2019 14:39:41 +0200 +Subject: [PATCH 2/2] Sort find_file file list + +so that ConfigData.pm ld_shared_libs builds in a reproducible way +in spite of indeterministic filesystem readdir order. + +See https://reproducible-builds.org/ for why this is good. +--- + inc/My/Utility.pm | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/inc/My/Utility.pm b/inc/My/Utility.pm +index 6d10d6d..328567f 100644 +--- a/inc/My/Utility.pm ++++ b/inc/My/Utility.pm +@@ -477,7 +477,7 @@ sub find_file { + no warnings; + find({ wanted => sub { push @files, rel2abs($_) if /$re/ }, follow => 1, no_chdir => 1 , follow_skip => 2}, $dir); + }; +- return @files; ++ return sort @files; + } + + sub find_SDL_dir {
