Hello community,

here is the log from the commit of package python-pocketsphinx-python for 
openSUSE:Factory checked in at 2019-04-11 12:16:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pocketsphinx-python (Old)
 and      /work/SRC/openSUSE:Factory/.python-pocketsphinx-python.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pocketsphinx-python"

Thu Apr 11 12:16:00 2019 rev:2 rq:692564 version:0.1.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pocketsphinx-python/python-pocketsphinx-python.changes
    2018-05-29 16:51:49.956794718 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pocketsphinx-python.new.27019/python-pocketsphinx-python.changes
 2019-04-11 12:16:07.400899784 +0200
@@ -1,0 +2,5 @@
+Tue Apr  9 08:48:20 UTC 2019 - Bernhard Wiedemann <[email protected]>
+
+- Add reproducible.patch to make package build reproducible (boo#1041090)
+
+-------------------------------------------------------------------

New:
----
  reproducible.patch

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

Other differences:
------------------
++++++ python-pocketsphinx-python.spec ++++++
--- /var/tmp/diff_new_pack.AWb9Vs/_old  2019-04-11 12:16:09.896901044 +0200
+++ /var/tmp/diff_new_pack.AWb9Vs/_new  2019-04-11 12:16:09.896901044 +0200
@@ -25,6 +25,8 @@
 Group:          Development/Languages/Python
 Source:         
https://files.pythonhosted.org/packages/source/p/pocketsphinx/pocketsphinx-%{version}.tar.bz2
 Patch0:         fix-encoding.diff
+# PATCH-FIX-UPSTREAM https://github.com/bambocher/pocketsphinx-python/pull/45
+Patch1:         reproducible.patch
 BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
@@ -42,6 +44,7 @@
 %prep
 %setup -q -n pocketsphinx-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"

++++++ reproducible.patch ++++++
https://github.com/cmusphinx/pocketsphinx-python/pull/42
https://github.com/bambocher/pocketsphinx-python/pull/45

Author: Bernhard M. Wiedemann <[email protected]>
Date:   Fri Jun 1 06:41:17 2018 +0200

    Sort input file list
    
    so that pocketsphinx-python's _pocketsphinx.so builds in a reproducible way
    in spite of indeterministic filesystem readdir order
    and http://bugs.python.org/issue30461
    
    See https://reproducible-builds.org/ for why this is good.

Index: pocketsphinx-0.1.3/setup.py
===================================================================
--- pocketsphinx-0.1.3.orig/setup.py
+++ pocketsphinx-0.1.3/setup.py
@@ -203,7 +203,7 @@ setup(
     ext_modules=[
         Extension(
             name='sphinxbase._ad',
-            sources=ad_sources,
+            sources=sorted(ad_sources),
             swig_opts=sb_swig_opts,
             include_dirs=sb_include_dirs,
             extra_objects=extra_objects,
@@ -214,7 +214,7 @@ setup(
         ),
         Extension(
             name='sphinxbase._sphinxbase',
-            sources=sb_sources,
+            sources=sorted(sb_sources),
             swig_opts=sb_swig_opts,
             include_dirs=sb_include_dirs,
             extra_objects=extra_objects,
@@ -224,7 +224,7 @@ setup(
         ),
         Extension(
             name='pocketsphinx._pocketsphinx',
-            sources=ps_sources,
+            sources=sorted(ps_sources),
             swig_opts=ps_swig_opts,
             include_dirs=sb_include_dirs + ps_include_dirs,
             extra_objects=extra_objects,

Reply via email to