diff --git a/more-itertools-8.12.0.tar.gz b/more-itertools-8.12.0.tar.gz deleted file mode 100644 index 3f75b49..0000000 Binary files a/more-itertools-8.12.0.tar.gz and /dev/null differ diff --git a/more-itertools-9.1.0.tar.gz b/more-itertools-9.1.0.tar.gz new file mode 100644 index 0000000..e295851 Binary files /dev/null and b/more-itertools-9.1.0.tar.gz differ diff --git a/python-more-itertools.spec b/python-more-itertools.spec index 229bd53..a6c2498 100644 --- a/python-more-itertools.spec +++ b/python-more-itertools.spec @@ -1,5 +1,5 @@ Name: python-more-itertools -Version: 8.12.0 +Version: 9.1.0 Release: 1 Summary: An opensource python library wrapping around itertools License: MIT @@ -15,6 +15,8 @@ See https://pythonhosted.org/more-itertools/index.html for more information. %package -n python3-more-itertools Summary: An opensource python library wrapping around itertools BuildRequires: python3-devel python3-six +BuildRequires: python3-pip python3-wheel +BuildRequires: python3-flit-core %{?python_provide:%python_provide python3-more-itertools} %description -n python3-more-itertools @@ -26,21 +28,24 @@ See https://pythonhosted.org/more-itertools/index.html for more information. %autosetup -n more-itertools-%{version} -p1 %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install %check -%{__python3} ./setup.py test +export PYTHONPATH=%{buildroot}%{python3_sitelib} +%{__python3} -m unittest -v %files -n python3-more-itertools %doc README.rst LICENSE %{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}*-info %changelog +* Wed Jun 07 2023 yaoxin - 9.1.0-1 +- Update to 9.1.0 + * Thu Jul 7 2022 wulei - 8.12.0-1 - Upgrade to 8.12.0