diff --git a/python-more-itertools.changes b/python-more-itertools.changes index d745fc7..3e26850 100644 --- a/python-more-itertools.changes +++ b/python-more-itertools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 13 13:15:41 UTC 2022 - Ben Greiner + +- Clean up specfile, only requires flit-core (flit not in Ring1) + ------------------------------------------------------------------- Sun Jun 5 14:27:12 UTC 2022 - Arun Persaud diff --git a/python-more-itertools.spec b/python-more-itertools.spec index 5405614..0cafd8d 100644 --- a/python-more-itertools.spec +++ b/python-more-itertools.spec @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-more-itertools Version: 8.13.0 @@ -26,11 +26,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/erikrose/more-itertools Source: https://files.pythonhosted.org/packages/source/m/more-itertools/more-itertools-%{version}.tar.gz -BuildRequires: %{python_module base} -BuildRequires: %{python_module flit} +BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -42,7 +40,7 @@ Python iterables. %prep %setup -q -n more-itertools-%{version} -rm -rf more_itertools.egg-info +chmod -x more_itertools/more.py %build %pyproject_wheel @@ -52,12 +50,12 @@ rm -rf more_itertools.egg-info %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pyunittest discover -v +%pyunittest -v %files %{python_files} %doc README.rst %license LICENSE %{python_sitelib}/more_itertools/ -%{python_sitelib}/more_itertools-%{version}.dist-info/ +%{python_sitelib}/more_itertools-%{version}*-info/ %changelog