From db3e0c8c604cb2888facc3be186293456f6489e3 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 11:11:55 +0100 Subject: [PATCH] automatic version update by autodist [release 22.10.1-1mamba;Sat Oct 29 2022] --- python-gevent.spec | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/python-gevent.spec b/python-gevent.spec index 6c2648b..28f053d 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -1,5 +1,6 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-gevent -Version: 21.12.0 +Version: 22.10.1 Release: 1mamba Summary: Coroutine-based network library Group: System/Libraries @@ -12,13 +13,20 @@ Patch0: python-gevent-1.0.1-python-2.7.6.patch License: MIT ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel -BuildRequires: libpython27-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(greenlet) +BuildRequires: python3.7dist(setuptools) +BuildRequires: python3.7dist(zope.event) +BuildRequires: python3.7dist(zope.interface) ## AUTOBUILDREQ-END -Requires: python >= %python_version %description %{summary}. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n gevent-%{version} #-D -T @@ -38,15 +46,19 @@ CFLAGS="%{optflags}" %{__python} setup.py build --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -sed -i "/_socket3.py/d" %{name}.filelist +#sed -i "/_socket3.py/d" %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) -%{python_sitearch}/gevent/_socket3.py* +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc AUTHORS LICENSE %changelog +* Sat Oct 29 2022 Automatic Build System 22.10.1-1mamba +- automatic version update by autodist + * Mon Dec 13 2021 Automatic Build System 21.12.0-1mamba - automatic version update by autodist