forked from pool/python-gevent
Accepting request 904662 from home:alarrosa:branches:devel:languages:python
- Skip two tests that fail in SLE/Leap: * skip-tests-in-leap.patch OBS-URL: https://build.opensuse.org/request/show/904662 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=76
This commit is contained in:
@@ -40,6 +40,7 @@ Source100: %{name}-rpmlintrc
|
||||
# usually, as long as no return value is used, this shouldn't be treated as an error
|
||||
# let's selectively disable the warning around the offending code
|
||||
Patch0: fix-no-return-in-nonvoid-function.patch
|
||||
Patch1: skip-tests-in-leap.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module cffi}
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -106,6 +107,10 @@ Documentation and examples for %{name}.
|
||||
%if 0%{?sle_version} <= 150100 && 0%{?is_opensuse}
|
||||
%patch0 -p1
|
||||
%endif
|
||||
|
||||
%if 0%{?sle_version} <= 150300
|
||||
%patch1 -p1
|
||||
%endif
|
||||
sed -i -e '1s!bin/env python!bin/python!' examples/*.py
|
||||
|
||||
%build
|
||||
|
||||
Reference in New Issue
Block a user