Hello community,

here is the log from the commit of package python-bjoern for openSUSE:Factory 
checked in at 2018-03-13 10:25:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-bjoern (Old)
 and      /work/SRC/openSUSE:Factory/.python-bjoern.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-bjoern"

Tue Mar 13 10:25:13 2018 rev:6 rq:586168 version:1.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-bjoern/python-bjoern.changes      
2015-02-03 15:35:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-bjoern.new/python-bjoern.changes 
2018-03-13 10:25:16.555110396 +0100
@@ -1,0 +2,5 @@
+Tue Mar 13 03:20:57 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to make build reproducible (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ python-bjoern.spec ++++++
--- /var/tmp/diff_new_pack.DunRTo/_old  2018-03-13 10:25:18.011058231 +0100
+++ /var/tmp/diff_new_pack.DunRTo/_new  2018-03-13 10:25:18.015058087 +0100
@@ -24,6 +24,7 @@
 Group:          Development/Languages/Python
 Url:            https://github.com/jonashaag/bjoern
 Source:         
http://pypi.python.org/packages/source/b/bjoern/bjoern-%{version}.tar.gz
+Patch0:         reproducible.patch
 BuildRequires:  libev-devel
 BuildRequires:  python-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -36,6 +37,7 @@
 
 %prep
 %setup -q -n bjoern-%{version}
+%patch0 -p1
 
 %build
 CFLAGS="%{optflags}" python setup.py build

++++++ reproducible.patch ++++++
merged upstream

commit 7e4227ea7e789a8e917b52c43adda3318c4062bb
Author: Bernhard M. Wiedemann <bwiedem...@suse.de>
Date:   Mon Jun 5 16:41:04 2017 +0200

    sort input files
    
    when building packages (e.g. for openSUSE Linux)
    (random) filesystem order of input files
    influences ordering of functions in the output,
    thus without the patch, builds (in disposable VMs) would usually differ.
    
    See https://reproducible-builds.org/ for why this matters.

Index: bjoern-1.4.2/setup.py
===================================================================
--- bjoern-1.4.2.orig/setup.py
+++ bjoern-1.4.2/setup.py
@@ -3,7 +3,7 @@ import glob
 from distutils.core import setup, Extension
 
 SOURCE_FILES = [os.path.join('http-parser', 'http_parser.c')] + \
-               glob.glob(os.path.join('bjoern', '*.c'))
+               sorted(glob.glob(os.path.join('bjoern', '*.c')))
 
 bjoern_extension = Extension(
     '_bjoern',

Reply via email to