Hello community, here is the log from the commit of package python-annoy for openSUSE:Factory checked in at 2018-07-13 10:20:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-annoy (Old) and /work/SRC/openSUSE:Factory/.python-annoy.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-annoy" Fri Jul 13 10:20:39 2018 rev:2 rq:622023 version:1.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-annoy/python-annoy.changes 2018-05-15 10:32:33.874033586 +0200 +++ /work/SRC/openSUSE:Factory/.python-annoy.new/python-annoy.changes 2018-07-13 10:21:01.694432265 +0200 @@ -1,0 +2,5 @@ +Tue Jul 10 05:06:28 UTC 2018 - bwiedem...@suse.com + +- Add reproducible.patch to not depend on build system CPU (boo#1100677) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-annoy.spec ++++++ --- /var/tmp/diff_new_pack.RIjEvs/_old 2018-07-13 10:21:02.062432706 +0200 +++ /var/tmp/diff_new_pack.RIjEvs/_new 2018-07-13 10:21:02.066432710 +0200 @@ -25,6 +25,8 @@ Url: https://github.com/spotify/annoy Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/a/annoy/annoy-%{version}.tar.gz +# PATCH-FIX-OPENSUSE boo#1100677 +Patch0: reproducible.patch BuildRequires: %{python_module devel} BuildRequires: %{python_module nose >= 1.0} BuildRequires: %{python_module setuptools} @@ -43,6 +45,7 @@ %prep %setup -q -n annoy-%{version} +%patch0 -p1 %build export CFLAGS="%{optflags}" ++++++ reproducible.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2018-07-10 https://bugzilla.opensuse.org/show_bug.cgi?id=1100677 Index: annoy-1.12.0/setup.py =================================================================== --- annoy-1.12.0.orig/setup.py +++ annoy-1.12.0/setup.py @@ -42,15 +42,12 @@ else: # Not all CPUs have march as a tuning parameter import platform -cputune = ['-march=native',] -if platform.machine() == "ppc64le": - cputune = ['-mcpu=native',] if os.name != 'nt': compile_args = ['-O3', '-ffast-math', '-fno-associative-math'] else: compile_args = [] - cputune = [] +cputune = [] setup(name='annoy', version='1.12.0',