Hello community,

here is the log from the commit of package wavemon for openSUSE:Factory checked 
in at 2017-05-24 16:50:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/wavemon (Old)
 and      /work/SRC/openSUSE:Factory/.wavemon.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "wavemon"

Wed May 24 16:50:48 2017 rev:23 rq:497812 version:0.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/wavemon/wavemon.changes  2017-05-08 
19:05:03.582805097 +0200
+++ /work/SRC/openSUSE:Factory/.wavemon.new/wavemon.changes     2017-05-24 
16:51:46.382681108 +0200
@@ -1,0 +2,6 @@
+Tue May 23 15:29:35 UTC 2017 - [email protected]
+
+- Override BUILD_DATE for reproducible builds
+- Add reproducible.patch to avoid random link order
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ wavemon.spec ++++++
--- /var/tmp/diff_new_pack.DY8Iaw/_old  2017-05-24 16:51:47.050587082 +0200
+++ /var/tmp/diff_new_pack.DY8Iaw/_new  2017-05-24 16:51:47.050587082 +0200
@@ -24,6 +24,8 @@
 Group:          Productivity/Networking/Diagnostic
 Url:            https://github.com/uoaerg/wavemon
 Source:         
https://github.com/uoaerg/wavemon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM bmwiedemann https://github.com/uoaerg/wavemon/pull/35
+Patch0:         reproducible.patch
 BuildRequires:  libcap-devel
 BuildRequires:  ncurses-devel
 BuildRequires:  pkgconfig
@@ -40,8 +42,12 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
+if [ -n "$SOURCE_DATE_EPOCH" ] ; then
+  export BUILD_DATE=`date -d@$SOURCE_DATE_EPOCH`
+fi
 export CFLAGS="%{optflags} `pkg-config --cflags libnl-3.0` -D_REENTRANT 
-pthread"
 %configure \
   --docdir=%{_docdir}/%{name}

++++++ reproducible.patch ++++++
>From f8e66e4afbe49328f393ec9d705689750c1334d4 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Tue, 23 May 2017 17:11:04 +0200
Subject: [PATCH] sort input files

when building packages 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.
---
 Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.in b/Makefile.in
index d2e1c01..c9ecc37 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -20,7 +20,7 @@ RM    = rm -vf
 
 MAIN   = @[email protected]
 HEADERS        = $(wildcard *.h)
-PURESRC        = $(filter-out $(MAIN),$(wildcard *.c))
+PURESRC        = $(filter-out $(MAIN),$(sort $(wildcard *.c)))
 OBJS   = $(PURESRC:.c=.o)
 DOCS   = README.md NEWS THANKS AUTHORS COPYING ChangeLog
 
-- 
2.12.0


Reply via email to