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