Hello community,

here is the log from the commit of package newsbeuter for openSUSE:Factory 
checked in at 2017-05-24 16:50:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/newsbeuter (Old)
 and      /work/SRC/openSUSE:Factory/.newsbeuter.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "newsbeuter"

Wed May 24 16:50:23 2017 rev:14 rq:497371 version:2.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/newsbeuter/newsbeuter.changes    2015-10-20 
00:04:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.newsbeuter.new/newsbeuter.changes       
2017-05-24 16:51:04.596563386 +0200
@@ -1,0 +2,5 @@
+Mon May 22 04:53:00 UTC 2017 - [email protected]
+
+- Add reproducible.patch to sort input files to make build fully reproducible
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ newsbeuter.spec ++++++
--- /var/tmp/diff_new_pack.yTBKC4/_old  2017-05-24 16:51:05.480438967 +0200
+++ /var/tmp/diff_new_pack.yTBKC4/_new  2017-05-24 16:51:05.480438967 +0200
@@ -27,6 +27,8 @@
 Patch2:         newsbeuter-makefile.patch
 # PATCH-FIX-UPSTREAM newsbeuter-ncurses6.patch [email protected] -- Fix 
build with ncurses 6 - patch taken from Fedora
 Patch3:         newsbeuter-ncurses6.patch
+# PATCH-FIX-UPSTREAM bmwiedemann -- 
https://github.com/akrennmair/newsbeuter/pull/550
+Patch4:         reproducible.patch
 Url:            http://www.newsbeuter.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libstfl-devel
@@ -60,6 +62,7 @@
 %if 0%{?suse_version} > 1320
 %patch3 -p1
 %endif
+%patch4 -p1
 
 %build
 ./config.sh

++++++ reproducible.patch ++++++
>From 8cf8bd40b449aa5f183f274df490d61e785ea4a6 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <[email protected]>
Date: Mon, 22 May 2017 06:49:25 +0200
Subject: [PATCH] Make build reproducible

when linking binaries with g++, (random) filesystem order of input files
influences ordering of functions in the output

See https://reproducible-builds.org/ for why this matters.
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 14c01f9..44d8c7d 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ NEWSBEUTER_SOURCES:=$(shell cat mk/newsbeuter.deps)
 NEWSBEUTER_OBJS:=$(patsubst %.cpp,%.o,$(NEWSBEUTER_SOURCES))
 NEWSBEUTER_LIBS=-lbeuter -lfilter -lpthread -lrsspp
 
-RSSPPLIB_SOURCES=$(wildcard rss/*.cpp)
+RSSPPLIB_SOURCES=$(sort $(wildcard rss/*.cpp))
 RSSPPLIB_OBJS=$(patsubst rss/%.cpp,rss/%.o,$(RSSPPLIB_SOURCES))
 RSSPPLIB_OUTPUT=librsspp.a
 
-- 
2.12.0


Reply via email to