Hello community,

here is the log from the commit of package python-krbV for openSUSE:Factory 
checked in at 2017-07-07 10:16:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-krbV (Old)
 and      /work/SRC/openSUSE:Factory/.python-krbV.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-krbV"

Fri Jul  7 10:16:31 2017 rev:2 rq:507345 version:1.0.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-krbV/python-krbV.changes  2015-06-24 
20:47:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-krbV.new/python-krbV.changes     
2017-07-07 10:16:32.254228091 +0200
@@ -1,0 +2,5 @@
+Mon Jun  5 20:11:13 UTC 2017 - [email protected]
+
+- Add reproducible.patch to sort input files to make build reproducible 
(boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ python-krbV.spec ++++++
--- /var/tmp/diff_new_pack.fZDWzR/_old  2017-07-07 10:16:33.022119437 +0200
+++ /var/tmp/diff_new_pack.fZDWzR/_new  2017-07-07 10:16:33.022119437 +0200
@@ -25,6 +25,8 @@
 Url:            https://fedorahosted.org/python-krbV/
 Source:         
https://pypi.python.org/packages/source/p/python-krbV/python-krbV-%{version}.tar.bz2
 Patch0:         0-remove_data_files.patch
+# PATCH-FIX-UPSTREAM TODO
+Patch1:         reproducible.patch
 BuildRequires:  krb5-devel
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
@@ -40,6 +42,7 @@
 %prep
 %setup -q -n python-krbV-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 CFLAGS="%{optflags}" python setup.py build

++++++ reproducible.patch ++++++
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: python-krbV-1.0.90/setup.py
===================================================================
--- python-krbV-1.0.90.orig/setup.py
+++ python-krbV-1.0.90/setup.py
@@ -88,7 +88,7 @@ setup(
 
     ext_modules = [
         Extension('krbV',
-            glob('*.c'),
+            sorted(glob('*.c')),
             include_dirs = ['.', 'krb5', 'com_err'],
             libraries = ['krb5', 'com_err'])
     ],

Reply via email to