diff --git a/python-PyMeeus.changes b/python-PyMeeus.changes index f630a4a..cf5cd62 100644 --- a/python-PyMeeus.changes +++ b/python-PyMeeus.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 20 18:25:54 UTC 2024 - Matej Cepl + +- Clean up the SPEC file. + ------------------------------------------------------------------- Fri May 17 14:48:50 UTC 2024 - Markéta Machová diff --git a/python-PyMeeus.spec b/python-PyMeeus.spec index dbc13a4..6a95d82 100644 --- a/python-PyMeeus.spec +++ b/python-PyMeeus.spec @@ -24,9 +24,11 @@ Summary: Python implementation of Jean Meeus astronomical routines License: LGPL-3.0-only URL: https://github.com/architest/pymeeus Source: https://files.pythonhosted.org/packages/source/P/PyMeeus/PyMeeus-%{version}.tar.gz -Patch: pytest72.patch +Patch0: pytest72.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -41,10 +43,10 @@ Willmann-Bell Inc. (1998)" by Jean Meeus. %autosetup -p1 -n PyMeeus-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check