Hello community,

here is the log from the commit of package python-autobahn for openSUSE:Factory 
checked in at 2020-07-24 12:10:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-autobahn (Old)
 and      /work/SRC/openSUSE:Factory/.python-autobahn.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-autobahn"

Fri Jul 24 12:10:27 2020 rev:12 rq:822557 version:20.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-autobahn/python-autobahn.changes  
2020-07-21 15:50:28.448301880 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-autobahn.new.3592/python-autobahn.changes    
    2020-07-24 12:10:37.081878652 +0200
@@ -1,0 +2,7 @@
+Thu Jul 23 14:42:38 UTC 2020 - Berthold Gunreben <azo...@opensuse.org>
+
+- Add patch to include correct <arch>intrin.h for s390
+  * intrin-arch.patch
+- Minor patch refresh for respect-cflags.patch
+
+-------------------------------------------------------------------

New:
----
  intrin-arch.patch

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

Other differences:
------------------
++++++ python-autobahn.spec ++++++
--- /var/tmp/diff_new_pack.CbQycA/_old  2020-07-24 12:10:39.089880672 +0200
+++ /var/tmp/diff_new_pack.CbQycA/_new  2020-07-24 12:10:39.089880672 +0200
@@ -26,6 +26,7 @@
 URL:            https://github.com/crossbario/autobahn-python
 Source:         
https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
 Patch0:         respect-cflags.patch
+Patch1:         intrin-arch.patch
 BuildRequires:  %{python_module PyNaCl >= 1.0.1}
 BuildRequires:  %{python_module PyQRCode >= 1.1}
 BuildRequires:  %{python_module Twisted >= 20.3.0}
@@ -85,6 +86,7 @@
 %prep
 %setup -q -n autobahn-%{version}
 %patch0 -p1
+%patch1 -p1
 
 # this test relies too much on rng that can behave randomly in obs
 rm autobahn/test/test_rng.py

++++++ intrin-arch.patch ++++++
Index: autobahn-20.7.1/autobahn/nvx/_utf8validator.c
===================================================================
--- autobahn-20.7.1.orig/autobahn/nvx/_utf8validator.c
+++ autobahn-20.7.1/autobahn/nvx/_utf8validator.c
@@ -27,8 +27,12 @@
 #include <stdlib.h>
 #include <stdint.h>
 
+#ifdef __s390__
+#include <s390intrin.h>
+#else
 // http://stackoverflow.com/questions/11228855/header-files-for-simd-intrinsics
 #include <x86intrin.h>
+#endif
 
 
 #define UTF8_ACCEPT 0
++++++ respect-cflags.patch ++++++
--- /var/tmp/diff_new_pack.CbQycA/_old  2020-07-24 12:10:39.133880716 +0200
+++ /var/tmp/diff_new_pack.CbQycA/_new  2020-07-24 12:10:39.133880716 +0200
@@ -9,11 +9,11 @@
 
 https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
 
-Index: autobahn-19.3.3/autobahn/nvx/_utf8validator.py
+Index: autobahn-20.7.1/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(_
+--- autobahn-20.7.1.orig/autobahn/nvx/_utf8validator.py
++++ autobahn-20.7.1/autobahn/nvx/_utf8validator.py
+@@ -50,7 +50,7 @@ with open(os.path.join(os.path.dirname(_
          "_nvx_utf8validator",
          c_source,
          libraries=[],


Reply via email to