| |
@@ -1,29 +1,27 @@
|
| |
- # 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: 6%{?dist}
|
| |
- Summary: %{sum}
|
| |
+ Version: 8.4.0
|
| |
+ Release: 1%{?dist}
|
| |
+ Summary: More routines for operating on Python iterables, beyond itertools
|
| |
License: MIT
|
| |
URL: https://github.com/erikrose/more-itertools
|
| |
- Source0: https://pypi.io/packages/source/m/%{srcname}/%{srcname}-%{version}.tar.gz
|
| |
+ Source0: %{pypi_source}
|
| |
BuildArch: noarch
|
| |
+
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-setuptools
|
| |
BuildRequires: python3-six
|
| |
|
| |
+ %global _description %{expand:
|
| |
+ Python's itertools library is a gem - you can compose elegant solutions for
|
| |
+ a variety of problems with the functions it provides. In more-itertools we
|
| |
+ collect additional building blocks, recipes, and routines for working with
|
| |
+ Python iterables.}
|
| |
+
|
| |
%description %_description
|
| |
|
| |
%package -n python3-%{srcname}
|
| |
- Summary: %{sum}
|
| |
+ Summary: %{summary}
|
| |
%{?python_provide:%python_provide python3-%{srcname}}
|
| |
|
| |
%description -n python3-%{srcname} %_description
|
| |
@@ -38,16 +36,20 @@
|
| |
%py3_install
|
| |
|
| |
%check
|
| |
- %{__python3} ./setup.py test
|
| |
+ %{python3} setup.py test
|
| |
|
| |
%files -n python3-%{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
|
| |
+ %{python3_sitelib}/more_itertools-%{version}-py%{python3_version}.egg-info/
|
| |
|
| |
%changelog
|
| |
+ * Wed Jul 29 2020 Miro Hrončok <mhroncok@redhat.com> - 8.4.0-1
|
| |
+ - Update to 8.4.0
|
| |
+ - Fixes rhbz#1778332
|
| |
+
|
| |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 7.2.0-6
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
| |
|
| |
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1778332