diff --git a/python-mpmath.changes b/python-mpmath.changes index 182c70e..42d2725 100644 --- a/python-mpmath.changes +++ b/python-mpmath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 9 05:11:54 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Sep 27 08:47:23 UTC 2023 - ecsos diff --git a/python-mpmath.spec b/python-mpmath.spec index 82885c9..3e2688e 100644 --- a/python-mpmath.spec +++ b/python-mpmath.spec @@ -1,7 +1,7 @@ # # spec file for package python-mpmath # -# 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 @@ -22,14 +22,15 @@ Version: 1.3.0 Release: 0 Summary: Python library for arbitrary-precision floating-point arithmetic License: BSD-3-Clause -Group: Development/Libraries/Python URL: https://github.com/fredrik-johansson/mpmath Source: https://files.pythonhosted.org/packages/source/m/mpmath/mpmath-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module gmpy2 >= 2.1.0a4} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python >= 3.8 @@ -54,10 +55,10 @@ sed -i 's/\r//' mpmath/tests/runtests.py # fix wrong-script-end-of-line-encodin sed -i '1d' mpmath/tests/runtests.py # fix non-executable-script rpmlint warning %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -69,6 +70,6 @@ export PYTHONDONTWRITEBYTECODE=1 %doc README.rst %dir %{python_sitelib}/mpmath %{python_sitelib}/mpmath -%{python_sitelib}/mpmath-%{version}-py*.egg-info +%{python_sitelib}/mpmath-%{version}.dist-info %changelog