Hello community,

here is the log from the commit of package spacenavd for openSUSE:Factory 
checked in at 2017-05-31 12:18:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spacenavd (Old)
 and      /work/SRC/openSUSE:Factory/.spacenavd.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spacenavd"

Wed May 31 12:18:18 2017 rev:2 rq:498709 version:0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/spacenavd/spacenavd.changes      2017-01-25 
23:19:55.553628430 +0100
+++ /work/SRC/openSUSE:Factory/.spacenavd.new/spacenavd.changes 2017-05-31 
12:19:28.914604974 +0200
@@ -1,0 +2,6 @@
+Sat May 27 05:26:02 UTC 2017 - bwiedem...@suse.com
+
+- Add reproducible.patch to sort input files to make build reproducible
+  (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ spacenavd.spec ++++++
--- /var/tmp/diff_new_pack.Ck2uGU/_old  2017-05-31 12:19:29.810478508 +0200
+++ /var/tmp/diff_new_pack.Ck2uGU/_new  2017-05-31 12:19:29.810478508 +0200
@@ -19,6 +19,8 @@
 Source2:       spnavrc
 Source3:       xinitrc-%{name}
 Source4:       %{name}.service
+# PATCH-FIX-UPSTREAM bmwiedemann https://sourceforge.net/p/spacenav/patches/6/
+Patch0:         reproducible.patch
 BuildRoot:     %{_tmppath}/%{name}-%{version}-build
 BuildRequires: xorg-x11
 BuildRequires: xorg-x11-devel
@@ -37,6 +39,7 @@
  
 %prep  
 %setup -q
+%patch0 -p1
 
 %build
 %configure

++++++ reproducible.patch ++++++
sort input files (boo#1041090)

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 differ.

See https://reproducible-builds.org/ for why this matters.

Index: spacenavd-0.6/Makefile.in
===================================================================
--- spacenavd-0.6.orig/Makefile.in
+++ spacenavd-0.6/Makefile.in
@@ -1,4 +1,4 @@
-src = $(wildcard src/*.c) $(wildcard src/serial/*.c) $(wildcard 
src/magellan/*.c)
+src = $(sort $(wildcard src/*.c) $(wildcard src/serial/*.c) $(wildcard 
src/magellan/*.c))
 hdr = $(wildcard src/*.h) $(wildcard src/serial/*.h) $(wildcard 
src/magellan/*.h)
 obj = $(src:.c=.o)
 dep = $(obj:.o=.d)


Reply via email to