From f76a7617fb30b46031662d8b4c42aa5443df5c3691d877497d0240018e66ace2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 13 Jun 2022 15:59:50 +0000 Subject: [PATCH] Accepting request 982463 from home:bnavigator:branches:devel:languages:python - Clean up specfile, only requires flit-core (flit not in Ring1) OBS-URL: https://build.opensuse.org/request/show/982463 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-more-itertools?expand=0&rev=39 --- python-more-itertools.changes | 5 +++++ python-more-itertools.spec | 14 ++++++-------- 2 files changed, 11 insertions(+), 8 deletions(-) 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