15
0

- Rename reproducible.patch to respect-cflags.patch and really make

sure we respect all the cflags

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autobahn?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal
2019-04-08 08:45:21 +00:00
committed by Git OBS Bridge
parent c2e7d9080d
commit 98ddf51a46
3 changed files with 10 additions and 3 deletions

View File

@@ -25,8 +25,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/crossbario/autobahn-python
Source: https://files.pythonhosted.org/packages/source/a/autobahn/autobahn-%{version}.tar.gz
# PATCH-FIX-OPENSUSE bmwiedemann -- https://bugzilla.opensuse.org/show_bug.cgi?id=1100677
Patch0: reproducible.patch
Patch0: respect-cflags.patch
BuildRequires: %{python_module PyNaCl >= 1.0.1}
BuildRequires: %{python_module PyQRCode >= 1.1}
BuildRequires: %{python_module Twisted >= 12.1.0}
@@ -93,6 +92,7 @@ asynchronous Remote Procedure Calls and Publish & Subscribe on top of WebSocket.
%build
export AUTOBAHN_USE_NVX=true
export CFLAGS="%{optflags}"
%python_build
%install
@@ -103,6 +103,7 @@ export AUTOBAHN_USE_NVX=true
%check
export USE_ASYNCIO=true
export AUTOBAHN_USE_NVX=true
export PYTHONDONTWRITEBYTECODE=1
%pytest_arch %{buildroot}%{$python_sitearch}/autobahn/
%files %{python_files}