Hello community, here is the log from the commit of package sql-parser for openSUSE:Factory checked in at 2020-07-15 11:25:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sql-parser (Old) and /work/SRC/openSUSE:Factory/.sql-parser.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sql-parser" Wed Jul 15 11:25:18 2020 rev:2 rq:819273 version:1.5+git20181206 Changes: -------- --- /work/SRC/openSUSE:Factory/sql-parser/sql-parser.changes 2019-11-11 21:20:00.767590055 +0100 +++ /work/SRC/openSUSE:Factory/.sql-parser.new.3060/sql-parser.changes 2020-07-15 11:29:16.149848934 +0200 @@ -1,0 +2,5 @@ +Mon Jul 6 06:35:19 UTC 2020 - Bernhard Wiedemann <[email protected]> + +- Add reproducible.patch to sort the file list (boo#1041090) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sql-parser.spec ++++++ --- /var/tmp/diff_new_pack.X8UXpE/_old 2020-07-15 11:29:21.605854334 +0200 +++ /var/tmp/diff_new_pack.X8UXpE/_new 2020-07-15 11:29:21.605854334 +0200 @@ -26,6 +26,7 @@ License: MIT Url: https://github.com/envoyproxy/%{name} Source: %{name}-%{version}.tar.xz +Patch0: reproducible.patch BuildRequires: gcc-c++ BuildRequires: patchelf @@ -57,6 +58,7 @@ %prep %setup -q +%patch0 -p1 sed -i \ -e "s|\$(INSTALL)/lib|%{buildroot}%{_libdir}|" \ Makefile ++++++ reproducible.patch ++++++ https://github.com/envoyproxy/sql-parser/pull/1 >From 026854f4e467a2d09c12e4eb8f35dcbdcfa0c155 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" <[email protected]> Date: Thu, 14 Nov 2019 09:40:31 +0100 Subject: [PATCH] Sort the input file list so that libsqlparser.so.1 builds in a reproducible way in spite of indeterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good. Signed-off-by: Bernhard M. Wiedemann <[email protected]> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fcfd3c0..06c7eac 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ else LIB_CFLAGS += -fPIC LIB_LFLAGS = -shared -o endif -LIB_CPP = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(PARSER_CPP) +LIB_CPP = $(sort $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(PARSER_CPP)) LIB_H = $(shell find $(INCLUDE) -name '*.h' -not -path "$(SRCPARSER)/*") $(PARSER_H) LIB_ALL = $(shell find $(SRC) -name '*.cpp' -not -path "$(SRCPARSER)/*") $(shell find $(INCLUDE) -name '*.h' -not -path "$(SRCPARSER)/*") LIB_OBJ = $(LIB_CPP:%.cpp=%.o)
