Hello community, here is the log from the commit of package wyrd for openSUSE:Factory checked in at 2018-03-18 21:44:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wyrd (Old) and /work/SRC/openSUSE:Factory/.wyrd.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wyrd" Sun Mar 18 21:44:47 2018 rev:12 rq:587826 version:1.4.6 Changes: -------- --- /work/SRC/openSUSE:Factory/wyrd/wyrd.changes 2017-05-17 17:20:20.000328415 +0200 +++ /work/SRC/openSUSE:Factory/.wyrd.new/wyrd.changes 2018-03-18 21:44:52.829636221 +0100 @@ -1,0 +2,5 @@ +Tue Mar 13 10:09:22 UTC 2018 - [email protected] + +- Add reproducible.patch to normalize build time (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wyrd.spec ++++++ --- /var/tmp/diff_new_pack.FwwAIH/_old 2018-03-18 21:44:54.053592128 +0100 +++ /var/tmp/diff_new_pack.FwwAIH/_new 2018-03-18 21:44:54.053592128 +0100 @@ -25,6 +25,7 @@ Url: http://pessimization.com/software/wyrd/ Source0: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-ncurses.patch +Patch1: reproducible.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: camlp4 @@ -49,6 +50,7 @@ %prep %setup -q %patch0 +%patch1 -p1 %build autoreconf -fi ++++++ reproducible.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2018-03-13 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 works with various variants of date Index: wyrd-1.4.6/Makefile.in =================================================================== --- wyrd-1.4.6.orig/Makefile.in +++ wyrd-1.4.6/Makefile.in @@ -86,10 +86,15 @@ $(NAME).opt: $(COBJS) $(CURSES_CMXA) $(C VERSION=1.4.6 +ifdef SOURCE_DATE_EPOCH + BUILD_DATE ?= $(shell date -u -d "@$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u -r "$(SOURCE_DATE_EPOCH)" 2>/dev/null || date -u) +else + BUILD_DATE ?= $(shell date) +endif version.ml: Makefile echo "let version = \""$(VERSION)"\"" > version.ml - echo "let date = \""`date`"\"" >> version.ml + echo "let date = \"$(BUILD_DATE)\"" >> version.ml $(CURSES_CMA) $(CURSES_CMXA) .stamp_built_curses:
