From c1b7da70241735bdba1f78d8327168fbf19d883630b4158b17ff2d375d1f6be0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 20 May 2024 18:26:04 +0000 Subject: [PATCH] - Clean up the SPEC file. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMeeus?expand=0&rev=11 --- python-PyMeeus.changes | 5 +++++ python-PyMeeus.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) 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