Hello community, here is the log from the commit of package 389-ds for openSUSE:Factory checked in at 2017-08-31 21:03:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/389-ds (Old) and /work/SRC/openSUSE:Factory/.389-ds.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "389-ds" Thu Aug 31 21:03:33 2017 rev:11 rq:519693 version:1.3.6.6 Changes: -------- --- /work/SRC/openSUSE:Factory/389-ds/389-ds.changes 2017-08-29 11:44:09.683640576 +0200 +++ /work/SRC/openSUSE:Factory/.389-ds.new/389-ds.changes 2017-08-31 21:03:43.130252892 +0200 @@ -1,0 +2,6 @@ +Wed Aug 30 12:29:40 UTC 2017 - bwiedemann@suse.com + +- Add 389-ds-reproducible.patch not use build date in build num + to make build reproducible (boo#1047218) + +------------------------------------------------------------------- New: ---- 389-ds-reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ 389-ds.spec ++++++ --- /var/tmp/diff_new_pack.y7yG6W/_old 2017-08-31 21:03:45.253954508 +0200 +++ /var/tmp/diff_new_pack.y7yG6W/_new 2017-08-31 21:03:45.277951137 +0200 @@ -35,6 +35,8 @@ # PATCH-FIX-SLES -- Make init scripts LSB conform Patch1: 0001-init_fhs.patch Patch2: 0002-use-python2-for-selinux-detection.patch +# PATCH-FIX-UPSTREAM -- Allow to override buildnum +Patch3: 389-ds-reproducible.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -113,6 +115,7 @@ %setup -a 1 -qn %name-base-%version %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -fi ++++++ 389-ds-reproducible.patch ++++++ Upstream: https://pagure.io/389-ds-base/issue/49347 Index: 389-ds-base-1.3.4.14/buildnum.pl =================================================================== --- 389-ds-base-1.3.4.14.orig/buildnum.pl +++ 389-ds-base-1.3.4.14/buildnum.pl @@ -31,7 +31,7 @@ if ($opt_H) {exitHelp();} $platdir = $opt_p; # Get current time -@now = gmtime; +@now = gmtime($ENV{SOURCE_DATE_EPOCH} || time); # Format buildnum as YYYY.DDD.HHMM $year = $now[5] + 1900;