Matej Cepl 2024-05-20 18:26:04 +00:00 committed by Git OBS Bridge
parent cad63a2d8a
commit c1b7da7024
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 20 18:25:54 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file.
-------------------------------------------------------------------
Fri May 17 14:48:50 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@ -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