Hello community, here is the log from the commit of package libqt5-qtwebengine for openSUSE:Factory checked in at 2019-01-26 22:18:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebengine (Old) and /work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtwebengine" Sat Jan 26 22:18:05 2019 rev:43 rq:667732 version:5.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libqt5-qtwebengine/libqt5-qtwebengine.changes 2019-01-21 10:07:56.294825684 +0100 +++ /work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new.28833/libqt5-qtwebengine.changes 2019-01-26 22:18:07.879063977 +0100 @@ -1,0 +2,8 @@ +Mon Jan 21 14:14:56 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to override chromium build date + to make package build reproducible (boo#1047218) +- Use openSUSE's ninja for the build so that we can apply fixes there + that are used by everyone (boo#1118619) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libqt5-qtwebengine.spec ++++++ --- /var/tmp/diff_new_pack.15c7ns/_old 2019-01-26 22:18:11.215061269 +0100 +++ /var/tmp/diff_new_pack.15c7ns/_new 2019-01-26 22:18:11.219061265 +0100 @@ -76,6 +76,8 @@ Patch8: chromium-66.0.3359.170-gcc8-alignof.patch # PATCH-FIX-OPENSUSE (copied from the chromium package) Patch9: chromium-non-void-return.patch +# PATCH-FIX-UPSTREAM reproducible.patch -- https://bugs.chromium.org/p/chromium/issues/detail?id=740363 boo#1047218 +Patch10: reproducible.patch # http://www.chromium.org/blink not ported to PowerPC ExcludeArch: ppc ppc64 ppc64le s390 s390x # Try to fix i586 MemoryErrors with rpmlint @@ -102,6 +104,7 @@ BuildRequires: libqt5-qttools-private-headers-devel >= 5.9 BuildRequires: libqt5-qtwebchannel-private-headers-devel >= 5.9 BuildRequires: libqt5-qtxmlpatterns-private-headers-devel >= 5.9 +BuildRequires: ninja BuildRequires: pam-devel BuildRequires: pciutils-devel BuildRequires: perl-JSON ++++++ reproducible.patch ++++++ Author: Bernhard M. Wiedemann <bwiedem...@suse.de> AuthorDate: 2017-08-10 21:41:38 +0200 Allow to override build date in order to allow for reproducible builds. 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. simple fix for https://bugs.chromium.org/p/chromium/issues/detail?id=740363 that was fixed upstream in a more complicated way See also https://bugzilla.opensuse.org/show_bug.cgi?id=1047218 packages do not build reproducibly from including build time Index: qtwebengine-everywhere-src-5.11.2/src/3rdparty/chromium/build/write_build_date_header.py =================================================================== --- qtwebengine-everywhere-src-5.11.2.orig/src/3rdparty/chromium/build/write_build_date_header.py +++ qtwebengine-everywhere-src-5.11.2/src/3rdparty/chromium/build/write_build_date_header.py @@ -21,6 +21,7 @@ import datetime import doctest import os import sys +import time def GetFirstSundayOfMonth(year, month): @@ -88,7 +89,8 @@ def main(): # Format is expected to be "Mmm DD YYYY HH:MM:SS". build_date = args.build_date_override else: - now = datetime.datetime.utcnow() + epoch = int(os.environ.get('SOURCE_DATE_EPOCH', time.time())) + now = datetime.datetime.utcfromtimestamp(epoch) if now.hour < 5: # The time is locked at 5:00 am in UTC to cause the build cache # invalidation to not happen exactly at midnight. Use the same calculation