diff --git a/gevent-21.12.0.tar.gz b/gevent-21.12.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..2155bf685a7ae0d58ac67da8e93e17a47bc2b003 Binary files /dev/null and b/gevent-21.12.0.tar.gz differ diff --git a/python-gevent.spec b/python-gevent.spec index b8a3272f97de30ae98e497282ca7a9ace7ae8289..fa560e5d7a41ef92d2696b9d87194d2b606c5a55 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -2,14 +2,14 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-gevent -Version: 1.3.6 -Release: 3 +Version: 21.12.0 +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,9 +53,7 @@ Features include: Python 3 version. %prep -%autosetup -n gevent-%{version} -# Remove bundled libraries -rm -r deps +%autosetup -n gevent-%{version} -p1 # C extension sources will go into debuginfo as normal. sed -i -e 's/include_package_data=True/include_package_data=False/' setup.py @@ -84,6 +83,9 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';' %{python3_sitearch}/gevent* %changelog +* Fri Feb 25 2022 huangtianhua - 21.12.0-1 +- Upgrade to 21.12.0 to fix obs build error + * Wed Oct 21 2020 leiju - 1.3.6-3 - remove python2 subpackage