diff --git a/.python-greenlet.metadata b/.python-greenlet.metadata index 20a20c2..cc684ec 100644 --- a/.python-greenlet.metadata +++ b/.python-greenlet.metadata @@ -1 +1 @@ -105fcc7bae9e388e4b9a05b7c431ad2a637a0f75 SOURCES/greenlet-0.4.13.tar.gz +1f6c4db4bb7ddf6d056640c393963791f1cc3386 SOURCES/greenlet-1.0.0.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..eabc159 100644 --- a/SPECS/python-greenlet.spec +++ b/SPECS/python-greenlet.spec @@ -1,21 +1,13 @@ -%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.0.0 +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 +17,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 +27,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 +41,73 @@ 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 +%check +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 +* Mon Feb 07 2022 Joel Capitao - 1.0.0-1 +- Update to 1.0.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