update to 21.1.2

This commit is contained in:
caodongxia 2022-03-30 17:50:31 +08:00
parent 5cebe06471
commit 7e144d20c7
3 changed files with 8 additions and 4 deletions

Binary file not shown.

BIN
gevent-21.1.2.tar.gz Normal file

Binary file not shown.

View File

@ -2,14 +2,14 @@
%global optflags %(echo %{optflags} -I%{_includedir}/libev)
Name: python-gevent
Version: 1.3.6
Release: 3
Version: 21.1.2
Release: 1
Summary: A coroutine-based Python networking library
License: MIT
URL: http://www.gevent.org/
Source0: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%{version}.tar.gz
BuildRequires: gcc c-ares-devel libev-devel
BuildRequires: gcc c-ares-devel libev-devel libuv-devel
%description
gevent is a coroutine -based Python networking library that uses greenlet to
@ -32,6 +32,7 @@ Features include:
Summary: %{summary}
%{?python_provide:%python_provide python3-gevent}
BuildRequires: python3-devel python3-greenlet-devel
BuildRequires: python3-setuptools
Requires: python3-greenlet
%description -n python3-gevent
@ -52,7 +53,7 @@ Features include:
Python 3 version.
%prep
%autosetup -n gevent-%{version}
%autosetup -n gevent-%{version} -p1
# Remove bundled libraries
rm -r deps
# C extension sources will go into debuginfo as normal.
@ -84,6 +85,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%{python3_sitearch}/gevent*
%changelog
* Wed Mar 30 2022 caodongxia <caodongxia@huawei.com> - 21.1.2-1
- Update to 21.1.2
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 1.3.6-3
- remove python2 subpackage