|
|
|
@ -3,7 +3,7 @@
|
|
|
|
|
%global optflags %(echo %{optflags} -I%{_includedir}/libev)
|
|
|
|
|
|
|
|
|
|
Name: python-%{modname}
|
|
|
|
|
Version: 21.12.0
|
|
|
|
|
Version: 24.2.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A coroutine-based Python networking library
|
|
|
|
|
|
|
|
|
@ -31,17 +31,15 @@ Features include:
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{modname}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{modname}}
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-Cython
|
|
|
|
|
BuildRequires: python3-greenlet-devel >= 0.4.17
|
|
|
|
|
BuildRequires: python3-greenlet-devel >= 2.0.0
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
# For tests
|
|
|
|
|
BuildRequires: python3-dns
|
|
|
|
|
BuildRequires: python3-psutil
|
|
|
|
|
BuildRequires: python3-zope-event
|
|
|
|
|
BuildRequires: python3-zope-interface
|
|
|
|
|
Requires: python3-greenlet >= 0.4.17
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{modname}
|
|
|
|
|
gevent is a coroutine-based Python networking library that uses greenlet to
|
|
|
|
@ -69,6 +67,7 @@ sed -i -e 's/include_package_data=True/include_package_data=False/' setup.py
|
|
|
|
|
|
|
|
|
|
# Force re-cythonizing the sources
|
|
|
|
|
rm $(grep -rl '/\* Generated by Cython')
|
|
|
|
|
rm src/gevent/_generated_include/*
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export GEVENTSETUP_EMBED=0
|
|
|
|
@ -78,8 +77,6 @@ export GEVENTSETUP_EMBED=0
|
|
|
|
|
%install
|
|
|
|
|
export GEVENTSETUP_EMBED=0
|
|
|
|
|
%py3_install
|
|
|
|
|
rm %{buildroot}%{python3_sitearch}/%{modname}/_*2.py
|
|
|
|
|
rm %{buildroot}%{python3_sitearch}/%{modname}/__pycache__/_*2.*
|
|
|
|
|
find %{buildroot} -name '.buildinfo' -delete
|
|
|
|
|
# Correct the permissions.
|
|
|
|
|
find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
|
|
|
|
@ -95,6 +92,51 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr
|
|
|
|
|
%{python3_sitearch}/%{modname}*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jan 04 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 24.2.1-1
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Fri Jun 14 2024 Orion Poplawski <orion@nwra.com> - 24.2.1-1
|
|
|
|
|
- Update to 24.2.1
|
|
|
|
|
|
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 23.9.1-2
|
|
|
|
|
- Rebuilt for Python 3.13
|
|
|
|
|
|
|
|
|
|
* Sat Feb 17 2024 Orion Poplawski <orion@nwra.com> - 23.9.1-1
|
|
|
|
|
- Update to 23.9.1 CVE-2023-41419 (bz#2242244)
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.7.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.7.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 23.7.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 17 2023 Orion Poplawski <orion@nwra.com> - 23.7.0-1
|
|
|
|
|
- Update to 23.7.0
|
|
|
|
|
|
|
|
|
|
* Tue Jun 27 2023 Orion Poplawski <orion@nwra.com> - 22.10.2-3
|
|
|
|
|
- Add patch to remove match_hostname import
|
|
|
|
|
|
|
|
|
|
* Thu Jun 15 2023 Python Maint <python-maint@redhat.com> - 22.10.2-2
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Thu Jun 15 2023 Petr Viktorin <pviktori@redhat.com> - 22.10.2-1
|
|
|
|
|
- Update to 22.10.2
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 21.12.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 21.12.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 21.12.0-3
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Wed Jun 01 2022 Miro Hrončok <mhroncok@redhat.com> - 21.12.0-2
|
|
|
|
|
- Support Python 3.11
|
|
|
|
|
|
|
|
|
|
* Sun Mar 06 2022 Orion Poplawski <orion@nwra.com> - 21.12.0-1
|
|
|
|
|
- Update to 21.12.0
|
|
|
|
|
|