Hello community,

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

Package is "python-pycryptopp"

Sun Mar 11 15:25:34 2018 rev:2 rq:585110 
version:0.7.1.869544967005693312591928092448767568728501330214

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pycryptopp/python-pycryptopp.changes      
2016-10-10 16:19:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycryptopp.new/python-pycryptopp.changes 
2018-03-11 15:25:37.102425150 +0100
@@ -1,0 +2,5 @@
+Fri Mar  9 10:16:08 UTC 2018 - bwiedem...@suse.com
+
+- Add reproducible.patch to make build reproducible (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ python-pycryptopp.spec ++++++
--- /var/tmp/diff_new_pack.8C8h4d/_old  2018-03-11 15:25:37.774401043 +0100
+++ /var/tmp/diff_new_pack.8C8h4d/_new  2018-03-11 15:25:37.774401043 +0100
@@ -25,6 +25,8 @@
 Url:            http://allmydata.org/trac/pycryptopp
 Source:         
https://files.pythonhosted.org/packages/source/p/pycryptopp/pycryptopp-%{version}.tar.gz
 
 Patch0:         pycryptopp-0.5.29-disable-w-flag.patch
+# PATCH-FIX-UPSTREAM https://github.com/tahoe-lafs/pycryptopp/pull/41
+Patch1:         reproducible.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++
 BuildRequires:  libcryptopp-devel
@@ -41,6 +43,7 @@
 %prep
 %setup -q -n pycryptopp-%{version}
 %patch0
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"

++++++ reproducible.patch ++++++
>From e404f611f0e297fe2fe9ccdee15f78451aeed186 Mon Sep 17 00:00:00 2001
From: "Bernhard M. Wiedemann" <bwiedem...@suse.de>
Date: Tue, 30 May 2017 19:03:41 +0200
Subject: [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.
---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 2915b8d..a1d9904 100644
--- a/setup.py
+++ b/setup.py
@@ -163,7 +163,7 @@
                 if s.endswith(".c") and s!="test.c"])
 m = Extension("pycryptopp.publickey.ed25519._ed25519",
               include_dirs=[os.path.join("src-ed25519","supercop-ref")],
-              sources=sources)
+              sources=sorted(sources))
 ext_modules.append(m)
 
 

Reply via email to