diff --git a/python-cppy.changes b/python-cppy.changes index 967c2e1..1756ca7 100644 --- a/python-cppy.changes +++ b/python-cppy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 23 10:20:59 UTC 2025 - Markéta Machová + +- Convert to pip-based build + ------------------------------------------------------------------- Fri Apr 21 12:23:49 UTC 2023 - Dirk Müller diff --git a/python-cppy.spec b/python-cppy.spec index 34496c8..b849f7e 100644 --- a/python-cppy.spec +++ b/python-cppy.spec @@ -1,7 +1,7 @@ # # spec file for package python-cppy # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,10 +27,12 @@ URL: https://github.com/nucleic/cppy Source: https://files.pythonhosted.org/packages/source/c/cppy/cppy-%{version}.tar.gz Source99: python-cppy-rpmlintrc BuildRequires: %{python_module base >= 3.7} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools >= 61.2} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module tomli} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -43,10 +45,10 @@ C++ headers for C extension development %setup -q -n cppy-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check