|
|
e1d5d8 |
# spec file for package python-more-itertools
|
|
|
e1d5d8 |
# https://fedoraproject.org/wiki/Packaging:Python#Example_common_spec
|
|
|
e1d5d8 |
%global srcname more-itertools
|
|
|
e1d5d8 |
%global _description \
|
|
|
e1d5d8 |
Opensource python library wrapping around itertools. Package also includes \
|
|
|
e1d5d8 |
implementations of the recipes from the itertools documentation.\
|
|
|
e1d5d8 |
\
|
|
|
e1d5d8 |
See https://pythonhosted.org/more-itertools/index.html for documentation.\
|
|
|
e1d5d8 |
%global sum Python library for efficient use of itertools utility
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
Name: python-%{srcname}
|
|
|
e1d5d8 |
Version: 7.2.0
|
|
|
e1d5d8 |
Release: 5%{?dist}
|
|
|
e1d5d8 |
Summary: %{sum}
|
|
|
e1d5d8 |
License: MIT
|
|
|
e1d5d8 |
URL: https://github.com/erikrose/more-itertools
|
|
|
e1d5d8 |
Source0: https://pypi.io/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
|
e1d5d8 |
BuildArch: noarch
|
|
|
e1d5d8 |
# Exclude i686 arch. Due to a modularity issue it's being added to the
|
|
|
e1d5d8 |
# x86_64 compose of CRB, but we don't want to ship it at all.
|
|
|
e1d5d8 |
# See: https://projects.engineering.redhat.com/browse/RCM-72605
|
|
|
e1d5d8 |
ExcludeArch: i686
|
|
|
e1d5d8 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
e1d5d8 |
BuildRequires: python%{python3_pkgversion}-rpm-macros
|
|
|
e1d5d8 |
BuildRequires: python%{python3_pkgversion}-six
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%description %_description
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%package -n python%{python3_pkgversion}-%{srcname}
|
|
|
e1d5d8 |
Summary: %{sum}
|
|
|
e1d5d8 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%description -n python%{python3_pkgversion}-%{srcname} %_description
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%prep
|
|
|
e1d5d8 |
%autosetup -n %{srcname}-%{version}
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%build
|
|
|
e1d5d8 |
%py3_build
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%install
|
|
|
e1d5d8 |
%py3_install
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%check
|
|
|
e1d5d8 |
%{__python3} ./setup.py test
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%files -n python%{python3_pkgversion}-%{srcname}
|
|
|
e1d5d8 |
%license LICENSE
|
|
|
e1d5d8 |
%doc README.rst PKG-INFO
|
|
|
e1d5d8 |
%{python3_sitelib}/more_itertools/
|
|
|
e1d5d8 |
%exclude %{python3_sitelib}/more_itertools/tests
|
|
|
e1d5d8 |
%{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
%changelog
|
|
|
e1d5d8 |
* Fri Dec 13 2019 Tomas Orsava <torsava@redhat.com> - 7.2.0-5
|
|
|
e1d5d8 |
- Exclude unsupported i686 arch
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Tue Nov 19 2019 Lumír Balhar <lbalhar@redhat.com> - 7.2.0-4
|
|
|
e1d5d8 |
- Adjusted for Python 3.8 module in RHEL 8
|
|
|
e1d5d8 |
- Resolves: rhbz#1772818
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.0-3
|
|
|
e1d5d8 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 7.2.0-2
|
|
|
e1d5d8 |
- Rebuilt for Python 3.8
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Tue Aug 13 2019 Thomas Moschny <thomas.moschny@gmx.de> - 7.2.0-1
|
|
|
e1d5d8 |
- Update to 7.2.0.
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.0-2
|
|
|
e1d5d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Tue May 21 2019 aarem AT fedoraproject DOT org - 7.0.0-1
|
|
|
e1d5d8 |
- Update to 7.0.0
|
|
|
e1d5d8 |
- Drop python-2
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Sun Apr 01 2018 aarem AT fedoraproject DOT org - 4.1.0-1
|
|
|
e1d5d8 |
- rebuit for 4.1.0 using Thomas Moschny modification to spec file
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Sat Mar 24 2018 Thomas Moschny <thomas.moschny@gmx.de> - 4.1.0-1
|
|
|
e1d5d8 |
- Update to 4.1.0.
|
|
|
e1d5d8 |
- Do not do package tests.
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-5
|
|
|
e1d5d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-4
|
|
|
e1d5d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-3
|
|
|
e1d5d8 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 2.3-2
|
|
|
e1d5d8 |
- Rebuild for Python 3.6
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Wed Nov 09 2016 aarem AT fedoraproject DOT org - 2.3-1
|
|
|
e1d5d8 |
- update to 2.3
|
|
|
e1d5d8 |
* Fri Oct 14 2016 aarem AT fedoraproject DOT org - 2.2-4
|
|
|
e1d5d8 |
- fixed missing sum in line 9 of spec file, per BZ #138195
|
|
|
e1d5d8 |
* Sat Oct 8 2016 aarem AT fedoraproject DOT org - 2.2-3
|
|
|
e1d5d8 |
- renamed spec file to match package as per BZ #1381029
|
|
|
e1d5d8 |
-fixed bug (incorrect python3_provides) as per BZ #1381029
|
|
|
e1d5d8 |
- use common macro for description as per suggestion in BZ #1381029
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Wed Oct 05 2016 aarem AT fedoraproject DOT org - 2.2-2
|
|
|
e1d5d8 |
- separated python and python3 cases as per BZ #1381029
|
|
|
e1d5d8 |
|
|
|
e1d5d8 |
* Sun Oct 02 2016 aarem AT fedoraproject DOT org - 2.2-1
|
|
|
e1d5d8 |
- initial packaging of 2.2 version
|