Hello community, here is the log from the commit of package liboil for openSUSE:Factory checked in at 2017-05-31 12:11:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liboil (Old) and /work/SRC/openSUSE:Factory/.liboil.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liboil" Wed May 31 12:11:33 2017 rev:29 rq:498874 version:0.3.17 Changes: -------- --- /work/SRC/openSUSE:Factory/liboil/liboil.changes 2015-06-17 16:16:24.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.liboil.new/liboil.changes 2017-05-31 12:11:36.909232943 +0200 @@ -1,0 +2,6 @@ +Sun May 28 19:40:34 UTC 2017 - [email protected] + +- Add reproducible.patch to sort input files to make build reproducible + (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liboil.spec ++++++ --- /var/tmp/diff_new_pack.A2mc0y/_old 2017-05-31 12:11:38.984939948 +0200 +++ /var/tmp/diff_new_pack.A2mc0y/_new 2017-05-31 12:11:38.988939383 +0200 @@ -26,6 +26,8 @@ Source0: http://liboil.freedesktop.org/download/%{name}-%{version}.tar.gz Source1: baselibs.conf Patch0: ppc-asm.patch +#PATCH-FIX-OPENSUSE bmwiedemann -- make build reproducible +Patch1: reproducible.patch BuildRequires: glib2-devel BuildRequires: gtk-doc BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -87,6 +89,7 @@ %prep %setup -q %patch0 +%patch1 -p1 %build %configure --disable-static --with-pic ++++++ reproducible.patch ++++++ sort input files when building packages (random) filesystem order of input files influences ordering of functions in the output, thus without the patch, builds (in disposable VMs) would usually differ. See https://reproducible-builds.org/ for why this matters. Index: liboil-0.3.17/ltmain.sh =================================================================== --- liboil-0.3.17.orig/ltmain.sh +++ liboil-0.3.17/ltmain.sh @@ -2684,7 +2684,7 @@ func_extract_archives () func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac - my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` + my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs"
