Hello community, here is the log from the commit of package courier-imap for openSUSE:Factory checked in at 2019-02-08 12:10:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/courier-imap (Old) and /work/SRC/openSUSE:Factory/.courier-imap.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "courier-imap" Fri Feb 8 12:10:21 2019 rev:51 rq:672070 version:4.18.2 Changes: -------- --- /work/SRC/openSUSE:Factory/courier-imap/courier-imap.changes 2017-12-07 13:53:45.865441731 +0100 +++ /work/SRC/openSUSE:Factory/.courier-imap.new.28833/courier-imap.changes 2019-02-08 12:11:05.757521160 +0100 @@ -1,0 +2,5 @@ +Thu Jan 3 10:09:46 UTC 2019 - Bernhard Wiedemann <[email protected]> + +- Add reproducible.patch to override build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ courier-imap.spec ++++++ --- /var/tmp/diff_new_pack.gc2adf/_old 2019-02-08 12:11:08.485520136 +0100 +++ /var/tmp/diff_new_pack.gc2adf/_new 2019-02-08 12:11:08.485520136 +0100 @@ -44,6 +44,8 @@ ### Patch for upstream: ## fixes typo in Makefile.am Patch3: %{name}-Makefile.patch +# PATCH-FIX-UPSTEAM https://github.com/svarshavchik/courier-libs/pull/10 +Patch4: reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 910 BuildRequires: audit-libs @@ -111,6 +113,7 @@ %patch0 %patch2 %patch3 +%patch4 -p1 %build %configure \ ++++++ reproducible.patch ++++++ merged upstream: https://github.com/svarshavchik/courier-libs/pull/10 from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824037 Date: 2016-05-11 Description: Use SOURCE_DATE_EPOCH for imapd version Use the environment variable SOURCE_DATE_EPOCH (if set) for imapd PROGRAMVERSION, to make the build reproducible. See https://reproducible-builds.org/specs/source-date-epoch/ Author: Alexis Bienvenüe <[email protected]> Index: courier-imap-4.18.2/libs/imap/configure =================================================================== --- courier-imap-4.18.2.orig/libs/imap/configure +++ courier-imap-4.18.2/libs/imap/configure @@ -18345,7 +18345,9 @@ courier) ;; esac -date=`date` +SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-`date +%s`}" +date=`date -u -d "@$SOURCE_DATE_EPOCH" "+%F %T" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" "+%F %T" 2>/dev/null || date -u "+%F %T"` + cat >>confdefs.h <<_ACEOF #define PROGRAMVERSION "$package/${target_cpu}-${target_vendor}-${target_os}/$date"
