Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package paperjam for openSUSE:Factory checked in at 2022-02-10 23:12:12 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/paperjam (Old) and /work/SRC/openSUSE:Factory/.paperjam.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "paperjam" Thu Feb 10 23:12:12 2022 rev:2 rq:953103 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/paperjam/paperjam.changes 2020-02-13 10:11:29.080338899 +0100 +++ /work/SRC/openSUSE:Factory/.paperjam.new.1956/paperjam.changes 2022-02-10 23:12:51.512327208 +0100 @@ -1,0 +2,5 @@ +Wed Feb 9 12:02:53 UTC 2022 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ paperjam.spec ++++++ --- /var/tmp/diff_new_pack.0uE42J/_old 2022-02-10 23:12:52.100328698 +0100 +++ /var/tmp/diff_new_pack.0uE42J/_new 2022-02-10 23:12:52.104328708 +0100 @@ -23,6 +23,7 @@ License: GPL-2.0-or-later URL: https://mj.ucw.cz/sw/paperjam/ Source: http://mj.ucw.cz/download/linux/paperjam-%{version}.tar.gz +Patch0: reproducible.patch BuildRequires: asciidoc BuildRequires: gcc-c++ BuildRequires: libpaper-devel @@ -34,7 +35,7 @@ adding cropmarks, and many other tricks. %prep -%setup -q +%autosetup -p1 %build %make_build ++++++ reproducible.patch ++++++ commit 12ea0dec4f06adf5738c1dd037666443799bbad9 Author: Bernhard M. Wiedemann <bwiedem...@suse.de> Date: Mon Jul 6 04:59:45 2020 +0200 Use git commit date instead of build date and for distribution tarball builds, NEWS date is used as fallback. See https://reproducible-builds.org/ for why this is good. The first date call works with GNU date and FreeBSD date but has an unreproducible fallback. This PR was done while working on reproducible builds for openSUSE. diff --git a/Makefile b/Makefile index 35e54a6..d685a8f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION=1.1.1 YEAR=2020 -BUILD_DATE:=$(shell date '+%Y-%m-%d') +BUILD_DATE:=$(shell if [ -e .git ] ; then git log -1 --format=%cs ; else date -u -r NEWS '+%Y-%m-%d' 2>/dev/null || date '+%Y-%m-%d' ; fi) BUILD_COMMIT:=$(shell if git rev-parse >/dev/null 2>/dev/null ; then git describe --always --tags ; else echo '<unknown>' ; fi) DESTDIR=