Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package snobol4 for openSUSE:Factory checked in at 2023-06-14 16:29:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/snobol4 (Old) and /work/SRC/openSUSE:Factory/.snobol4.new.15902 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "snobol4" Wed Jun 14 16:29:11 2023 rev:2 rq:1092509 version:2.3.1 Changes: -------- --- /work/SRC/openSUSE:Factory/snobol4/snobol4.changes 2023-04-05 21:25:25.991074598 +0200 +++ /work/SRC/openSUSE:Factory/.snobol4.new.15902/snobol4.changes 2023-06-14 16:30:00.486714842 +0200 @@ -1,0 +2,5 @@ +Mon May 29 14:29:04 UTC 2023 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to drop build date (boo#1047218) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ snobol4.spec ++++++ --- /var/tmp/diff_new_pack.o9WerR/_old 2023-06-14 16:30:03.034730504 +0200 +++ /var/tmp/diff_new_pack.o9WerR/_new 2023-06-14 16:30:03.038730528 +0200 @@ -27,6 +27,7 @@ Source0: https://ftp.regressive.org/snobol4/%{name}-%{version}.tar.gz # Do not hardcode -O3. Patch1: snobol4-2.3.1-configure-no-opt.patch +Patch2: reproducible.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: gdbm-devel ++++++ reproducible.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse de> To: Phil Budne <p...@regressive.org> CC: <fred_wei...@hotmail.com> Subject: [Patch] PoC reproducible builds Allow for bit-identical binaries to be created See https://reproducible-builds.org/ for why. This patch was done while working on reproducible builds for openSUSE. Index: snobol4-2.3.1/snolib/setuputil.sno =================================================================== --- snobol4-2.3.1.orig/snolib/setuputil.sno +++ snobol4-2.3.1/snolib/setuputil.sno @@ -194,7 +194,7 @@ setup.makeinclude + ou = IO_FINDUNIT() of = setup.sno(t) OUTPUT(.out, ou,, of) :f(freturn) - out = "* Generated by setuputil.sno setup.makeinclude() " DATE() + out = "* Generated by setuputil.sno setup.makeinclude() " modname = REPLACE(t['module'], &LCASE, &UCASE) '_DL' out = setup.t modname ' = "' t['module'] '"' iu = IO_FINDUNIT() Index: snobol4-2.3.1/configure =================================================================== --- snobol4-2.3.1.orig/configure +++ snobol4-2.3.1/configure @@ -45,6 +45,10 @@ DATE=`date` # run hostname from subshell to redirect shell "not found message" HOST=`(hostname) 2>/dev/null || uname -n` +if [ -n "$SOURCE_DATE_EPOCH" ] ; then + DATE='reproducible' + HOST='reproducible' +fi VERSION_H=version.h.tmp CONFIG_H=config.h.tmp Index: snobol4-2.3.1/Makefile2.m4 =================================================================== --- snobol4-2.3.1.orig/Makefile2.m4 +++ snobol4-2.3.1/Makefile2.m4 @@ -260,8 +260,8 @@ build.o: always echo '/* MACHINE GENERATED. EDITING IS FUTILE */' > build.c echo '#include "h.h"' >> build.c echo 'const char build_files[] = "'$(SRCS)'";' >> build.c - echo 'const char build_date[] = "'`date`'";' >> build.c - echo 'const char build_dir[] = "'`pwd`'";' >> build.c + echo 'const char build_date[] = "'nodate'";' >> build.c + echo 'const char build_dir[] = "'reproducible'";' >> build.c $(CC) $(CFLAGS) -c build.c changequote([,])dnl