diff --git a/python-cppy.changes b/python-cppy.changes index fb98408..89a0b49 100644 --- a/python-cppy.changes +++ b/python-cppy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 28 15:27:01 UTC 2022 - Ben Greiner + +- Fix version metadata (broke kiwisolver) +- Follow upstreams Python >= 3.7 restriction + ------------------------------------------------------------------- Sun Mar 27 11:08:35 UTC 2022 - Dirk Müller diff --git a/python-cppy.spec b/python-cppy.spec index 77958e7..28ae0b0 100644 --- a/python-cppy.spec +++ b/python-cppy.spec @@ -16,7 +16,7 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-cppy Version: 1.2.0 @@ -26,8 +26,11 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/nucleic/cppy Source: https://files.pythonhosted.org/packages/source/c/cppy/cppy-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module tomli} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -52,6 +55,7 @@ C++ headers for C extension development %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/cppy +%{python_sitelib}/cppy-%{version}*-info %changelog