diff --git a/.python-greenlet.metadata b/.python-greenlet.metadata index 20a20c2..517eda4 100644 --- a/.python-greenlet.metadata +++ b/.python-greenlet.metadata @@ -1 +1 @@ -105fcc7bae9e388e4b9a05b7c431ad2a637a0f75 SOURCES/greenlet-0.4.13.tar.gz +6620eca91e31b022fc2c36263c0c5e2566134525 SOURCES/greenlet-1.1.3.tar.gz diff --git a/SOURCES/.gitignore b/SOURCES/.gitignore new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/SOURCES/.gitignore diff --git a/SPECS/python-greenlet.spec b/SPECS/python-greenlet.spec index 07905ea..cfbb2dd 100644 --- a/SPECS/python-greenlet.spec +++ b/SPECS/python-greenlet.spec @@ -1,21 +1,14 @@ -%if 0%{?rhel} > 7 -# Disable python2 build by default -%bcond_with python2 -%else -%bcond_without python2 -%endif - %global modname greenlet Name: python-%{modname} -Version: 0.4.13 -Release: 4%{?dist} +Version: 1.1.3 +Release: 1%{?dist} Summary: Lightweight in-process concurrent programming License: MIT URL: https://github.com/python-greenlet/greenlet Source0: %{url}/archive/%{version}/%{modname}-%{version}.tar.gz -# https://github.com/python-greenlet/greenlet/pull/120 -Patch0001: 0001-Don-t-clobber-r2-register-on-ppc64el.patch + +BuildRequires: gcc-c++ %global _description \ The greenlet package is a spin-off of Stackless, a version of CPython\ @@ -25,18 +18,6 @@ and are synchronized with data exchanges on "channels". %description %{_description} -%if %{with python2} -%package -n python2-%{modname} -Summary: %{summary} -%{?python_provide:%python_provide python2-%{modname}} -BuildRequires: python2-devel -BuildRequires: python2-setuptools - -%description -n python2-%{modname} %{_description} - -Python 2 version. -%endif # with python2 - %package -n python3-%{modname} Summary: %{summary} %{?python_provide:%python_provide python3-%{modname}} @@ -47,18 +28,6 @@ BuildRequires: python3-setuptools Python 3 version. -%if %{with python2} -%package -n python2-%{modname}-devel -Summary: C development headers for python2-%{modname} -%{?python_provide:%python_provide python2-%{modname}-devel} -Requires: python2-%{modname}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} - -%description -n python2-%{modname}-devel -%{summary}. - -Python 2 version. -%endif # with python2 - %package -n python3-%{modname}-devel Summary: C development headers for python3-%{modname} %{?python_provide:%python_provide python3-%{modname}-devel} @@ -73,50 +42,102 @@ Python 3 version. %autosetup -n %{modname}-%{version} -p1 %build -%if %{with python2} -%py2_build -%endif # with python2 %py3_build %install -%if %{with python2} -%py2_install -%endif # with python2 %py3_install %check -%if %{with python2} -%{__python2} setup.py test -%endif # with python2 -%{__python3} setup.py test - -%if %{with python2} -%files -n python2-%{modname} -%license LICENSE LICENSE.PSF -%doc AUTHORS NEWS README.rst -%{python2_sitearch}/%{modname}-*.egg-info -%{python2_sitearch}/%{modname}.so - -%files -n python2-%{modname}-devel -%{_includedir}/python%{python2_version}*/%{modname}/ -%endif # with python2 +PYTHONPATH="%{buildroot}%{python3_sitearch}" %{python3} -m unittest discover greenlet.tests %files -n python3-%{modname} %license LICENSE LICENSE.PSF -%doc AUTHORS NEWS README.rst +%doc AUTHORS README.rst %{python3_sitearch}/%{modname}-*.egg-info -%{python3_sitearch}/%{modname}*.so +%{python3_sitearch}/%{modname} %files -n python3-greenlet-devel %{_includedir}/python%{python3_version}*/%{modname}/ %changelog -* Thu Nov 07 2019 Brian C. Lane - 0.4.13-4 -- Add gating tests - Resolves: rhbz#1682344 +* Fri Oct 14 2022 Lumír Balhar - 1.1.3-1 +- Update to 1.1.3 + +* Fri Jul 22 2022 Fedora Release Engineering - 1.1.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 1.1.2-4 +- Rebuilt for Python 3.11 + +* Wed Jun 01 2022 Miro Hrončok - 1.1.2-3 +- Python 3.11 support +- Fixes: rhbz#2040186 + +* Fri Jan 21 2022 Fedora Release Engineering - 1.1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Sep 30 2021 Kevin Fenzi - 1.1.2-1 +- Update to 1.1.2. Fixes rhbz#2008848 + +* Sat Aug 07 2021 Kevin Fenzi - 1.1.1-1 +- Update to 1.1.1. +- Fixes rhbz#1990901 + +* Fri Jul 23 2021 Fedora Release Engineering - 1.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 1.1.0-2 +- Rebuilt for Python 3.10 + +* Mon May 10 2021 Nils Philippsen - 1.1.0-1 +- Update to 1.1.0 + +* Wed Jan 27 2021 Fedora Release Engineering - 0.4.17-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Oct 31 2020 Kevin Fenzi - 0.4.17-1 +- Update to 0.4.17. Fixes bug #1881455 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.4.16-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jun 06 2020 Orion Poplawski - 0.4.16-1 +- Update to 0.4.16 + +* Sat May 23 2020 Miro Hrončok - 0.4.14-8 +- Rebuilt for Python 3.9 + +* Thu May 21 2020 Miro Hrončok - 0.4.14-7 +- Fix Python 3.9 build + +* Thu Jan 30 2020 Fedora Release Engineering - 0.4.14-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Sep 26 2019 Miro Hrončok - 0.4.14-5 +- Subpackages python2-greenlet, python2-greenlet-devel have been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Fri Aug 16 2019 Miro Hrončok - 0.4.14-4 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 0.4.14-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sat Feb 02 2019 Fedora Release Engineering - 0.4.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jul 18 2018 Kevin Fenzi - 0.4.14-1 +- Update to 0.4.14. +- Drop upstreamed/no longer needed patches. + +* Sat Jul 14 2018 Fedora Release Engineering - 0.4.13-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jul 03 2018 Miro Hrončok - 0.4.13-4 +- Add fix for Python 3.7 -* Wed Jul 18 2018 Charalampos Stratakis - 0.4.13-3 -- Conditionalize the python2 subpackage +* Sat Jun 16 2018 Miro Hrončok - 0.4.13-3 +- Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild