File reproducible.patch of Package fastjet-contrib

https://github.com/alisw/fastjet/pull/6

From a921ef877955f14784775c44b52684c025897f78 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Mon, 20 Jan 2020 10:20:49 +0100
Subject: [PATCH 1/2] configure: Nicify

---
 fjcontrib/configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fjcontrib/configure b/fjcontrib/configure
index 4883d83..ca43bf8 100755
--- fjcontrib/configure
+++ fjcontrib/configure
@@ -10,8 +10,8 @@
 #------------------------------------------------------------------------
 # the list of contribs supported by this script
 #------------------------------------------------------------------------
-all_contribs=`find . -mindepth 2 -maxdepth 2 -name VERSION -not -print \
-                 | sed 's/\.\///g;s/\/.*$//g' | grep -v "Template"`
+all_contribs=`find . -mindepth 2 -maxdepth 2 -name VERSION -not -print |
+                 sed 's/\.\///g;s/\/.*$//g' | grep -v "Template"`
 
 #------------------------------------------------------------------------
 # default values prior to the arg parsing

From 826fa9e7643f4113355c727a8a26fd44258deefd Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedemann@suse.de>
Date: Mon, 20 Jan 2020 10:21:33 +0100
Subject: [PATCH 2/2] configure: Sort input file list

so that libfastjetcontribfragile.so builds in a reproducible way
in spite of indeterministic filesystem readdir order.

See https://reproducible-builds.org/ for why this is good.
---
 fjcontrib/configure | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fjcontrib/configure b/fjcontrib/configure
index ca43bf8..5d88d5d 100755
--- fjcontrib/configure
+++ fjcontrib/configure
@@ -11,6 +11,7 @@
 # the list of contribs supported by this script
 #------------------------------------------------------------------------
 all_contribs=`find . -mindepth 2 -maxdepth 2 -name VERSION -not -print |
+                 sort |
                  sed 's/\.\///g;s/\/.*$//g' | grep -v "Template"`
 
 #------------------------------------------------------------------------
openSUSE Build Service is sponsored by