forked from pool/python-gevent
- Switch the condition logic to match the previous changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=45
This commit is contained in:
committed by
Git OBS Bridge
parent
7b6dc9bf1a
commit
e80cbd7b3b
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 08:26:33 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch the condition logic to match the previous changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 00:10:41 UTC 2019 - Jonathan Brownell <jbrownell@suse.com>
|
||||
|
||||
|
||||
@@ -12,21 +12,20 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Tests require network connection
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-gevent
|
||||
Version: 1.3.5
|
||||
Release: 0
|
||||
Summary: Python network library that uses greenlet and libevent
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: http://www.gevent.org/
|
||||
URL: http://www.gevent.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%{version}.tar.gz
|
||||
Source100: %{name}-rpmlintrc
|
||||
BuildRequires: %{python_module cffi}
|
||||
@@ -35,17 +34,16 @@ BuildRequires: %{python_module greenlet}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-cffi
|
||||
Requires: python-greenlet
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module nose}
|
||||
%endif
|
||||
Requires: python-cffi
|
||||
Requires: python-greenlet
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24 || 0%{?rhel} >= 8
|
||||
Requires: python-psutil
|
||||
%else
|
||||
%if 0%{?suse_version} || 0%{?fedora_version} || 0%{?rhel} >= 8
|
||||
Recommends: python-psutil
|
||||
%else
|
||||
Requires: python-psutil
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
|
||||
Reference in New Issue
Block a user