Hello community,

here is the log from the commit of package uperf for openSUSE:Factory checked 
in at 2019-06-12 13:16:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/uperf (Old)
 and      /work/SRC/openSUSE:Factory/.uperf.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "uperf"

Wed Jun 12 13:16:48 2019 rev:5 rq:709069 version:1.0.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/uperf/uperf.changes      2018-03-11 
15:25:35.978465471 +0100
+++ /work/SRC/openSUSE:Factory/.uperf.new.4811/uperf.changes    2019-06-12 
13:16:57.112649782 +0200
@@ -1,0 +2,6 @@
+Mon Jun 10 19:06:04 UTC 2019 - Bernhard Wiedemann <[email protected]>
+
+- Add reproducible.patch to override build date
+  to make package build reproducible (boo#1047218)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ uperf.spec ++++++
--- /var/tmp/diff_new_pack.Nnx9vl/_old  2019-06-12 13:16:57.840649018 +0200
+++ /var/tmp/diff_new_pack.Nnx9vl/_new  2019-06-12 13:16:57.844649014 +0200
@@ -25,6 +25,8 @@
 URL:            http://www.uperf.org/
 Source0:        
https://github.com/uperf/uperf/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch0:         uperf-openssl-1_1.patch
+# PATCH-FIX-UPSTREAM https://github.com/uperf/uperf/pull/13
+Patch1:         reproducible.patch
 BuildRequires:  lksctp-tools-devel
 BuildRequires:  openssl-devel
 
@@ -57,6 +59,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %configure \

++++++ reproducible.patch ++++++
https://github.com/uperf/uperf/pull/13

>From e3fb85288d4267cb14dc35eecfed2110d4e53d21 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Fri, 16 Mar 2018 20:43:41 +0100
Subject: [PATCH] Allow to override build date

and use UTC (to be inpendent of timezones)
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good
and https://reproducible-builds.org/specs/source-date-epoch/
for the definition of this variable.
This date call works with GNU and BSD date variants.
---
 configure.ac | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Index: uperf-1.0.6/configure
===================================================================
--- uperf-1.0.6.orig/configure
+++ uperf-1.0.6/configure
@@ -5624,7 +5624,8 @@ fi
 $as_echo "no" >&6; }
 fi
 
-timestamp=`date`
+SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-`date +%s`}"
+timestamp=`date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null || date -u -r 
"$SOURCE_DATE_EPOCH" 2>/dev/null || date -u`
 
 
 cat >>confdefs.h <<_ACEOF

Reply via email to