!5 Fix compile failed of python-gevent
Merge pull request !5 from starlet_dx/openEuler-22.03-LTS-Next
This commit is contained in:
commit
f2db8970c1
Binary file not shown.
BIN
gevent-20.6.1.tar.gz
Normal file
BIN
gevent-20.6.1.tar.gz
Normal file
Binary file not shown.
@ -2,14 +2,14 @@
|
||||
%global optflags %(echo %{optflags} -I%{_includedir}/libev)
|
||||
|
||||
Name: python-gevent
|
||||
Version: 1.3.6
|
||||
Release: 3
|
||||
Version: 20.6.1
|
||||
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 Jan 07 2022 yaoxin <yaoxin30@huawei.com> - 20.6.1-1
|
||||
- Fix compile failed of python-gevent
|
||||
|
||||
* Wed Oct 21 2020 leiju <leiju4@huawei.com> - 1.3.6-3
|
||||
- remove python2 subpackage
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user