Hello community, here is the log from the commit of package python-distorm3 for openSUSE:Factory checked in at 2017-08-04 11:59:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-distorm3 (Old) and /work/SRC/openSUSE:Factory/.python-distorm3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-distorm3" Fri Aug 4 11:59:52 2017 rev:9 rq:512487 version:3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-distorm3/python-distorm3.changes 2013-04-22 14:31:43.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-distorm3.new/python-distorm3.changes 2017-08-04 11:59:56.198913972 +0200 @@ -1,0 +2,5 @@ +Mon Jul 24 06:14:18 UTC 2017 - [email protected] + +- Add reproducible.patch to sort file list to fix build-compare (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-distorm3.spec ++++++ --- /var/tmp/diff_new_pack.65zSeb/_old 2017-08-04 11:59:56.910813489 +0200 +++ /var/tmp/diff_new_pack.65zSeb/_new 2017-08-04 11:59:56.914812924 +0200 @@ -25,6 +25,8 @@ Url: http://code.google.com/p/distorm/ Source: distorm3-%{version}.zip Patch0: 0001-don-t-stutter-static-on-BigEndian.patch +# PATCH-FIX-UPSTREAM https://github.com/gdabah/distorm/pull/116 +Patch1: reproducible.patch BuildRequires: fdupes BuildRequires: python-devel BuildRequires: unzip @@ -41,6 +43,7 @@ %prep %setup -q -n distorm3 %patch0 -p1 +%patch1 -p1 %build CFLAGS="%{optflags}" python setup.py build ++++++ reproducible.patch ++++++ https://github.com/gdabah/distorm/pull/116 >From e300df86b8483f59dcd56c521eb5b8d07c9c92d9 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Mon, 5 Jun 2017 21:59:26 +0200 Subject: [PATCH] sort input files when building packages (e.g. for openSUSE Linux) (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. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index b14ad67..e035e5b 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ def get_sources(): create the libdistorm3 library. """ - return glob('src/*.c') + return sorted(glob('src/*.c')) class custom_build(build):
