Hello community, here is the log from the commit of package opa-ff for openSUSE:Factory checked in at 2018-08-02 14:59:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opa-ff (Old) and /work/SRC/openSUSE:Factory/.opa-ff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opa-ff" Thu Aug 2 14:59:07 2018 rev:11 rq:626801 version:10.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/opa-ff/opa-ff.changes 2018-06-20 15:26:17.585098643 +0200 +++ /work/SRC/openSUSE:Factory/.opa-ff.new/opa-ff.changes 2018-08-02 14:59:10.988382579 +0200 @@ -1,0 +2,5 @@ +Wed Aug 1 04:29:23 UTC 2018 - [email protected] + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opa-ff.spec ++++++ --- /var/tmp/diff_new_pack.K6Gl4D/_old 2018-08-02 14:59:12.008384299 +0200 +++ /var/tmp/diff_new_pack.K6Gl4D/_new 2018-08-02 14:59:12.008384299 +0200 @@ -34,6 +34,7 @@ Source1: opa-ff.rpmlintrc Patch1: opa-ff-add-shebang-for-exp-files.patch Patch2: opa-ff-suse-build-fixes.patch +Patch3: reproducible.patch BuildRequires: gcc-c++ BuildRequires: infiniband-diags-devel BuildRequires: libexpat-devel @@ -118,6 +119,7 @@ %setup -q -n %{name}-%{version}%{git_ver} %patch1 %patch2 +%patch3 -p1 %build export RPM_OPT_FLAGS ++++++ reproducible.patch ++++++ https://github.com/01org/opa-ff/pull/10 commit 2ae76192815212d7a3f821d6a3dddc3d0bb9eae4 Author: Bernhard M. Wiedemann <[email protected]> Date: Wed Nov 15 20:14:04 2017 +0100 Allow to override build date 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 only works with GNU date. Also use UTC to be independent of timezones. And use ISO date format as the only proper way to unambiguously represent a date. diff --git a/MakeTools/prep.sh b/MakeTools/prep.sh index c0a4bd1..52b19a6 100755 --- a/MakeTools/prep.sh +++ b/MakeTools/prep.sh @@ -81,6 +81,7 @@ then exit 1 fi +[[ $SOURCE_DATE_EPOCH ]] && DATE=`date -u -d "@$SOURCE_DATE_EPOCH" -Iseconds` DATE=${DATE:-"`date +'%m/%d/%y %H:%M'`"} if [ "$#" = 1 ]
