Hello community, here is the log from the commit of package osmo-iuh for openSUSE:Factory checked in at 2019-01-10 15:22:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/osmo-iuh (Old) and /work/SRC/openSUSE:Factory/.osmo-iuh.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "osmo-iuh" Thu Jan 10 15:22:32 2019 rev:4 rq:663767 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/osmo-iuh/osmo-iuh.changes 2019-01-05 14:41:50.752506337 +0100 +++ /work/SRC/openSUSE:Factory/.osmo-iuh.new.28833/osmo-iuh.changes 2019-01-10 15:22:50.022361957 +0100 @@ -1,0 +2,6 @@ +Mon Jan 7 12:46:22 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to make package build reproducible + (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ osmo-iuh.spec ++++++ --- /var/tmp/diff_new_pack.7QoPvn/_old 2019-01-10 15:22:50.770361184 +0100 +++ /var/tmp/diff_new_pack.7QoPvn/_new 2019-01-10 15:22:50.774361180 +0100 @@ -27,6 +27,7 @@ Source: %name-%version.tar.xz Patch1: 0001-fix-return-values.patch Patch3: 0001-iu_client-uses-gprs_msgb.h.patch +Patch4: reproducible.patch BuildRequires: automake >= 1.9 BuildRequires: libtool >= 2 BuildRequires: lksctp-tools-devel ++++++ reproducible.patch ++++++ https://gerrit.osmocom.org/#/c/osmo-iuh/+/9387 commit 7a97fcafedead40b311eef65467480bd72fdd18b Author: Bernhard M. Wiedemann <bwiedem...@suse.de> Date: Wed May 30 13:20:29 2018 +0200 asn1tostruct: 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. Also do not record build user name to not have it vary. Change-Id: I5cfa465cc82f009f28dd7f12ced0e72a05fda842 diff --git a/asn1/utils/asn1tostruct.py b/asn1/utils/asn1tostruct.py index 0bba9dd..3c33980 100755 --- a/asn1/utils/asn1tostruct.py +++ b/asn1/utils/asn1tostruct.py @@ -4,6 +4,7 @@ import re, os, sys, string import datetime import getopt import getpass +import time version = "0.5osmo1" @@ -33,11 +34,11 @@ def printDebug(string): print string def outputHeaderToFile(f, filename): - now = datetime.datetime.now() + now = datetime.datetime.utcfromtimestamp(int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))) f.write("/*******************************************************************************\n") f.write(" * This file had been created by asn1tostruct.py script v%s\n" % (version)) f.write(" * Please do not modify this file but regenerate it via script.\n") - f.write(" * Created on: %s by %s\n * from %s\n" % (str(now), getpass.getuser(), filenames)) + f.write(" * Created on: %s\n * from %s\n" % (str(now), filenames)) f.write(" ******************************************************************************/\n") def lowerFirstCamelWord(word):