Hello community, here is the log from the commit of package python-autobahn for openSUSE:Factory checked in at 2019-05-06 13:21:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old) and /work/SRC/openSUSE:Factory/.python-autobahn.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-autobahn" Mon May 6 13:21:23 2019 rev:5 rq:692232 version:19.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes 2019-04-05 12:07:15.294587057 +0200 +++ /work/SRC/openSUSE:Factory/.python-autobahn.new.5148/python-autobahn.changes 2019-05-06 13:21:25.052540105 +0200 @@ -1,0 +2,12 @@ +Mon Apr 8 08:41:35 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Rename reproducible.patch to respect-cflags.patch and really make + sure we respect all the cflags + +------------------------------------------------------------------- +Mon Apr 8 07:32:05 UTC 2019 - Bernhard Wiedemann <bwiedem...@suse.com> + +- Add reproducible.patch to make package build reproducible (boo#1100677) + and to not use SSE4.1 instructions + +------------------------------------------------------------------- New: ---- respect-cflags.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-autobahn.spec ++++++ --- /var/tmp/diff_new_pack.qS9Lw3/_old 2019-05-06 13:21:26.344543015 +0200 +++ /var/tmp/diff_new_pack.qS9Lw3/_new 2019-05-06 13:21:26.376543087 +0200 @@ -25,6 +25,7 @@ Group: Development/Languages/Python URL: https://github.com/crossbario/autobahn-python Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz +Patch0: respect-cflags.patch BuildRequires: %{python_module PyNaCl >= 1.0.1} BuildRequires: %{python_module PyQRCode >= 1.1} BuildRequires: %{python_module Twisted >= 12.1.0} @@ -87,9 +88,11 @@ %prep %setup -q -n autobahn-%{version} +%patch0 -p1 %build export AUTOBAHN_USE_NVX=true +export CFLAGS="%{optflags}" %python_build %install @@ -100,6 +103,7 @@ %check export USE_ASYNCIO=true export AUTOBAHN_USE_NVX=true +export PYTHONDONTWRITEBYTECODE=1 %pytest_arch %{buildroot}%{$python_sitearch}/autobahn/ %files %{python_files} ++++++ respect-cflags.patch ++++++ Author: Bernhard M. Wiedemann <bwiedemann suse de> Date: 2019-04-08 This bug was found while working on reproducible builds for openSUSE. Without this patch, binaries would use SSE4.1 instructions if the build machine's CPU had it available. This could cause 'invalid instruction' faults on older user machines. https://bugzilla.opensuse.org/show_bug.cgi?id=1100677 Index: autobahn-19.3.3/autobahn/nvx/_utf8validator.py =================================================================== --- autobahn-19.3.3.orig/autobahn/nvx/_utf8validator.py +++ autobahn-19.3.3/autobahn/nvx/_utf8validator.py @@ -52,7 +52,7 @@ with open(os.path.join(os.path.dirname(_ "_nvx_utf8validator", c_source, libraries=[], - extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes', '-O3', '-march=native'] + extra_compile_args=['-std=c99', '-Wall', '-Wno-strict-prototypes'] )