Hello community, here is the log from the commit of package charybdis for openSUSE:Factory checked in at 2020-10-02 17:41:55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/charybdis (Old) and /work/SRC/openSUSE:Factory/.charybdis.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "charybdis" Fri Oct 2 17:41:55 2020 rev:8 rq:839004 version:4.1.2 Changes: -------- --- /work/SRC/openSUSE:Factory/charybdis/charybdis.changes 2019-09-30 16:00:10.481092758 +0200 +++ /work/SRC/openSUSE:Factory/.charybdis.new.4249/charybdis.changes 2020-10-02 17:42:17.734917241 +0200 @@ -1,0 +2,6 @@ +Thu Oct 1 14:41:29 UTC 2020 - Jan Engelhardt <[email protected]> + +- Add 0001-Set-EXTERNAL_BUILD_TIMESTAMP-from-SOURCE_DATE_EPOCH.patch + for reproducible builds. + +------------------------------------------------------------------- New: ---- 0001-Set-EXTERNAL_BUILD_TIMESTAMP-from-SOURCE_DATE_EPOCH.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ charybdis.spec ++++++ --- /var/tmp/diff_new_pack.oQJzLD/_old 2020-10-02 17:42:20.802919070 +0200 +++ /var/tmp/diff_new_pack.oQJzLD/_new 2020-10-02 17:42:20.802919070 +0200 @@ -1,7 +1,7 @@ # # spec file for package charybdis # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ #Git-Clone: https://github.com/charybdis-ircd/charybdis Source: https://github.com/charybdis-ircd/charybdis/archive/%name-%version.tar.gz Source9: example.conf +Patch1: 0001-Set-EXTERNAL_BUILD_TIMESTAMP-from-SOURCE_DATE_EPOCH.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -56,7 +57,7 @@ %configure --sysconfdir="%_sysconfdir/%name" \ --with-logdir="%_localstatedir/log/%name" \ --with-rundir="/run" --localstatedir="%_localstatedir/lib" -make %{?_smp_mflags} CHARYBDIS_VERSION="%version" +%make_build CHARYBDIS_VERSION="%version" %install b="%buildroot" ++++++ 0001-Set-EXTERNAL_BUILD_TIMESTAMP-from-SOURCE_DATE_EPOCH.patch ++++++ >From 1b0319448c69ad27922c0112f5edcb193665b81a Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Fri, 6 Dec 2019 18:32:46 +0100 Subject: [PATCH] Set EXTERNAL_BUILD_TIMESTAMP from SOURCE_DATE_EPOCH to make the package build reproducible by default without everyone having to discover the custom variable. 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. This code assigns the plain integer to keep the code simple. Otherwise we would have to deal with differences between GNU date and BSD date or include extra build deps like perl or python. --- ircd/version.c.SH | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ircd/version.c.SH b/ircd/version.c.SH index fcaad4b8..35818842 100644 --- a/ircd/version.c.SH +++ b/ircd/version.c.SH @@ -15,6 +15,9 @@ fi generation=`expr $generation + 1` +if test -n "$SOURCE_DATE_EPOCH" -a "$EXTERNAL_BUILD_TIMESTAMP" = '' ; then + EXTERNAL_BUILD_TIMESTAMP=$SOURCE_DATE_EPOCH +fi if test "$EXTERNAL_BUILD_TIMESTAMP" = ''; then creation=`LC_ALL=C date | \ awk '{if (NF == 6) \ -- 2.28.0
