a3ad66
%global         modname greenlet
a3ad66
a3ad66
Name:           python-%{modname}
rdobuilder 7906f7
Version:        2.0.2
rdobuilder 7906f7
Release:        1%{?dist}
a3ad66
Summary:        Lightweight in-process concurrent programming
a3ad66
License:        MIT
a3ad66
URL:            https://github.com/python-greenlet/greenlet
a3ad66
Source0:        %{url}/archive/%{version}/%{modname}-%{version}.tar.gz
rdobuilder 7906f7
rdobuilder 7906f7
# Patch needed for compatibility with Python 3.12
rdobuilder 7906f7
# From: https://github.com/python-greenlet/greenlet/pull/327
rdobuilder 7906f7
Patch0:          327.patch
rdobuilder 7906f7
rdobuilder 7906f7
# Skip leak checking to avoid a missing dependency, `objgraph`
rdobuilder 7906f7
Patch1:          skip-leak-checks.patch
rdobuilder 7906f7
rdobuilder 7906f7
BuildRequires:  gcc-c++
a3ad66
a3ad66
%global _description \
a3ad66
The greenlet package is a spin-off of Stackless, a version of CPython\
a3ad66
that supports micro-threads called "tasklets". Tasklets run\
a3ad66
pseudo-concurrently (typically in a single or a few OS-level threads)\
a3ad66
and are synchronized with data exchanges on "channels".
a3ad66
a3ad66
%description %{_description}
a3ad66
a3ad66
%package -n     python3-%{modname}
a3ad66
Summary:        %{summary}
a3ad66
%{?python_provide:%python_provide python3-%{modname}}
a3ad66
BuildRequires:  python3-devel
a3ad66
BuildRequires:  python3-setuptools
a3ad66
rdobuilder 7906f7
# For tests
rdobuilder 7906f7
BuildRequires:  python3-psutil
rdobuilder 7906f7
a3ad66
%description -n python3-%{modname} %{_description}
a3ad66
a3ad66
Python 3 version.
a3ad66
a3ad66
%package -n     python3-%{modname}-devel
a3ad66
Summary:        C development headers for python3-%{modname}
a3ad66
%{?python_provide:%python_provide python3-%{modname}-devel}
a3ad66
Requires:       python3-%{modname}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
a3ad66
a3ad66
%description -n python3-%{modname}-devel
a3ad66
%{summary}.
a3ad66
a3ad66
Python 3 version.
a3ad66
a3ad66
%prep
a3ad66
%autosetup -n %{modname}-%{version} -p1
a3ad66
a3ad66
%build
a3ad66
%py3_build
a3ad66
a3ad66
%install
a3ad66
%py3_install
a3ad66
 
a3ad66
%check
rdobuilder 7906f7
cd /
rdobuilder 7906f7
PYTHONPATH="%{buildroot}%{python3_sitearch}" \
rdobuilder 7906f7
  %{python3} -m unittest discover -v \
rdobuilder 7906f7
  -s "%{buildroot}%{python3_sitearch}/greenlet/tests" \
rdobuilder 7906f7
  -t "%{buildroot}%{python3_sitearch}"
a3ad66
a3ad66
%files -n python3-%{modname}
a3ad66
%license LICENSE LICENSE.PSF
rdobuilder 7906f7
%doc AUTHORS README.rst
a3ad66
%{python3_sitearch}/%{modname}-*.egg-info
rdobuilder 7906f7
%{python3_sitearch}/%{modname}
a3ad66
a3ad66
%files -n python3-greenlet-devel
a3ad66
%{_includedir}/python%{python3_version}*/%{modname}/
a3ad66
a3ad66
%changelog
rdobuilder 7906f7
* Wed Jun 14 2023 Petr Viktorin <pviktori@redhat.com> - 2.0.2-1
rdobuilder 7906f7
- Update to upstream version 2.0.2
rdobuilder 7906f7
- Update patch for Python 3.12 compatibility
rdobuilder 7906f7
- Skip leak checks for now
rdobuilder 7906f7
rdobuilder 7906f7
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.1.3-3
rdobuilder 7906f7
- Rebuilt for Python 3.12
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Oct 14 2022 Lumír Balhar <lbalhar@redhat.com> - 1.1.3-1
rdobuilder 7906f7
- Update to 1.1.3
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.2-4
rdobuilder 7906f7
- Rebuilt for Python 3.11
rdobuilder 7906f7
rdobuilder 7906f7
* Wed Jun 01 2022 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
rdobuilder 7906f7
- Python 3.11 support
rdobuilder 7906f7
- Fixes: rhbz#2040186
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-2
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Thu Sep 30 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.2-1
rdobuilder 7906f7
- Update to 1.1.2. Fixes rhbz#2008848
rdobuilder 7906f7
rdobuilder 7906f7
* Sat Aug 07 2021 Kevin Fenzi <kevin@scrye.com> - 1.1.1-1
rdobuilder 7906f7
- Update to 1.1.1.
rdobuilder 7906f7
- Fixes rhbz#1990901
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.1.0-2
rdobuilder 7906f7
- Rebuilt for Python 3.10
rdobuilder 7906f7
rdobuilder 7906f7
* Mon May 10 2021 Nils Philippsen <nils@tiptoe.de> - 1.1.0-1
rdobuilder 7906f7
- Update to 1.1.0
rdobuilder 7906f7
rdobuilder 7906f7
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.17-2
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Sat Oct 31 2020 Kevin Fenzi <kevin@scrye.com> - 0.4.17-1
rdobuilder 7906f7
- Update to 0.4.17. Fixes bug #1881455
rdobuilder 7906f7
rdobuilder 7906f7
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.16-2
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Sat Jun 06 2020 Orion Poplawski <orion@nwra.com> - 0.4.16-1
rdobuilder 7906f7
- Update to 0.4.16
rdobuilder 7906f7
rdobuilder 7906f7
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.14-8
rdobuilder 7906f7
- Rebuilt for Python 3.9
rdobuilder 7906f7
rdobuilder 7906f7
* Thu May 21 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.14-7
rdobuilder 7906f7
- Fix Python 3.9 build
rdobuilder 7906f7
rdobuilder 7906f7
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.14-6
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Thu Sep 26 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.14-5
rdobuilder 7906f7
- Subpackages python2-greenlet, python2-greenlet-devel have been removed
rdobuilder 7906f7
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.14-4
rdobuilder 7906f7
- Rebuilt for Python 3.8
rdobuilder 7906f7
rdobuilder 7906f7
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.14-3
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.14-2
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Wed Jul 18 2018 Kevin Fenzi <kevin@scrye.com> - 0.4.14-1
rdobuilder 7906f7
- Update to 0.4.14.
rdobuilder 7906f7
- Drop upstreamed/no longer needed patches.
rdobuilder 7906f7
rdobuilder 7906f7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.13-5
rdobuilder 7906f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
rdobuilder 7906f7
rdobuilder 7906f7
* Tue Jul 03 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.13-4
rdobuilder 7906f7
- Add fix for Python 3.7
5fe537
rdobuilder 7906f7
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 0.4.13-3
rdobuilder 7906f7
- Rebuilt for Python 3.7
a3ad66
a3ad66
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.13-2
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a3ad66
a3ad66
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.13-1
a3ad66
- Update to 0.4.13
a3ad66
a3ad66
* Fri Jan 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.12-1
a3ad66
- Update to 0.4.12
a3ad66
a3ad66
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-5
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a3ad66
a3ad66
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-4
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a3ad66
a3ad66
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.11-3
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a3ad66
a3ad66
* Tue Dec 20 2016 Miro Hrončok <mhroncok@redhat.com> - 0.4.11-2
a3ad66
- Rebuild for Python 3.6
a3ad66
a3ad66
* Sun Dec 11 2016 Kevin Fenzi <kevin@scrye.com> - 0.4.11-1
a3ad66
- Update to 0.4.11. Fixes bug #1403514
a3ad66
a3ad66
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.9-2
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
a3ad66
a3ad66
* Sun Oct 25 2015 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.9-1
a3ad66
- Update to 0.4.9
a3ad66
- Use %license macro
a3ad66
- Follow new RPM Packaging guidelines
a3ad66
- Cleanups in spec
a3ad66
a3ad66
* Fri Aug 21 2015 Kevin Fenzi <kevin@scrye.com> 0.4.7-2
a3ad66
- Re-enable tests on secondary arches. Fixes #1252899
a3ad66
- Applied patch to build on ppc64le. Fixes #1252900
a3ad66
a3ad66
* Fri Jun 26 2015 Kevin Fenzi <kevin@scrye.com> 0.4.7-1
a3ad66
- Update to 0.4.7. Fixes bug #1235896
a3ad66
a3ad66
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-2
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a3ad66
a3ad66
* Sun Mar 29 2015 Terje Røsten <terje.rosten@ntnu.no> - 0.4.5-1
a3ad66
- 0.4.5
a3ad66
- Add python3 subpackage
a3ad66
- Ship license files
a3ad66
- Some spec clean ups
a3ad66
- Update fixes FTBFS issue (bz#1106779)
a3ad66
- Add comment about issues on ppc64, s390 & s390x
a3ad66
a3ad66
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-3
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
a3ad66
a3ad66
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.2-2
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a3ad66
a3ad66
* Thu Jan 23 2014 Orion Poplawski <orion@cora.nwra.com> 0.4.2-1
a3ad66
- Update to 0.4.2
a3ad66
a3ad66
* Mon Aug 05 2013 Kevin Fenzi <kevin@scrye.com> 0.4.1-1
a3ad66
- Update to 0.4.1
a3ad66
- Fix FTBFS bug #993134
a3ad66
a3ad66
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-3
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a3ad66
a3ad66
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-2
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
a3ad66
a3ad66
* Fri Jan 18 2013 Pádraig Brady <P@draigBrady.com> - 0.4.0-1
a3ad66
- Update to 0.4.0
a3ad66
a3ad66
* Thu Oct 11 2012 Pádraig Brady <P@draigBrady.com> - 0.3.1-11
a3ad66
- Add support for ppc64
a3ad66
a3ad66
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-10
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
a3ad66
a3ad66
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-9
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a3ad66
a3ad66
* Fri Nov 25 2011 Dan Horák <dan[at]danny.cz> - 0.3.1-8
a3ad66
- disable tests also for s390(x)
a3ad66
a3ad66
* Thu Nov 17 2011 Pádraig Brady <P@draigBrady.com> - 0.3.1-7
a3ad66
- Fix %%check quoting in the previous comment which when
a3ad66
  left with a single percent sign, pulled in "unset DISPLAY\n"
a3ad66
  into the changelog
a3ad66
a3ad66
* Mon Oct 24 2011 Pádraig Brady <P@draigBrady.com> - 0.3.1-6
a3ad66
- cherrypick 25bf29f4d3b7 from upstream (rhbz#746771)
a3ad66
- exclude the %%check from ppc where the tests segfault
a3ad66
a3ad66
* Wed Oct 19 2011 David Malcolm <dmalcolm@redhat.com> - 0.3.1-5
a3ad66
- add a %%check section
a3ad66
- cherrypick 2d5b17472757 from upstream (rhbz#746771)
a3ad66
a3ad66
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.1-4
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a3ad66
a3ad66
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.3.1-3
a3ad66
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
a3ad66
a3ad66
* Wed Apr 14 2010 Lev Shamardin <shamardin@gmail.com> - 0.3.1-2
a3ad66
- Splitted headers into a -devel package.
a3ad66
a3ad66
* Fri Apr 09 2010 Lev Shamardin <shamardin@gmail.com> - 0.3.1-1
a3ad66
- Initial package version.