Hello community, here is the log from the commit of package libdnet for openSUSE:Factory checked in at 2018-08-03 12:35:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdnet (Old) and /work/SRC/openSUSE:Factory/.libdnet.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libdnet" Fri Aug 3 12:35:32 2018 rev:22 rq:626807 version:1.12 Changes: -------- --- /work/SRC/openSUSE:Factory/libdnet/libdnet.changes 2017-08-10 14:12:00.877201463 +0200 +++ /work/SRC/openSUSE:Factory/.libdnet.new/libdnet.changes 2018-08-03 12:35:36.491418868 +0200 @@ -1,0 +2,6 @@ +Wed Aug 1 04:22:18 UTC 2018 - bwiedemann@suse.com + +- Add reproducible.patch to sort linked .o files + to make package build reproducible (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdnet.spec ++++++ --- /var/tmp/diff_new_pack.qslGxB/_old 2018-08-03 12:35:37.411420231 +0200 +++ /var/tmp/diff_new_pack.qslGxB/_new 2018-08-03 12:35:37.411420231 +0200 @@ -31,6 +31,7 @@ # PATCH-FIX-UPSTREAM: do include string.h when needed, this is autogenerated # file which can't be generated with today tools :( Patch2: libdnet-fortify.patch +Patch3: reproducible.patch BuildRequires: libbsd-devel BuildRequires: libtool BuildRequires: python-devel @@ -88,6 +89,7 @@ %patch0 %patch1 %patch2 -p1 +%patch3 -p1 %build ACLOCAL="aclocal -I config" autoreconf -fvi ++++++ reproducible.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2017-09-02 https://github.com/dugsong/libdnet/pull/42 https://bugzilla.opensuse.org/show_bug.cgi?id=1041090 sort linker file list so that dnet.so builds in a reproducible way in spite of indeterministic filesystem readdir order and http://bugs.python.org/issue30461 See https://reproducible-builds.org/ for why this is good. This allows the libdnet package in openSUSE Tumbleweed to produce identical rpms on different builds. Index: libdnet-libdnet-1.12/python/setup.py.in =================================================================== --- libdnet-libdnet-1.12.orig/python/setup.py.in +++ libdnet-libdnet-1.12/python/setup.py.in @@ -20,7 +20,7 @@ else: # XXX - can't build on Cygwin+MinGW yet. #if sys.platform == 'cygwin': # dnet_extargs.append('-mno-cygwin') - dnet_extobj.extend(glob.glob('@top_builddir@/src/.libs/*.o')) + dnet_extobj.extend(sorted(glob.glob('@top_builddir@/src/.libs/*.o'))) dnet = Extension('dnet', dnet_srcs,