diff --git a/python-ephem.changes b/python-ephem.changes index 2142601..da75954 100644 --- a/python-ephem.changes +++ b/python-ephem.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 23 01:30:08 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Tue Nov 12 12:31:19 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-ephem.spec b/python-ephem.spec index a15c4eb..5ae5f23 100644 --- a/python-ephem.spec +++ b/python-ephem.spec @@ -1,7 +1,7 @@ # # spec file for package python-ephem # -# Copyright (c) 2024 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ephem Version: 4.1.6 Release: 0 @@ -27,8 +26,10 @@ URL: https://github.com/brandon-rhodes/pyephem Source0: https://files.pythonhosted.org/packages/source/e/ephem/ephem-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytzdata} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytzdata @@ -46,11 +47,11 @@ sed -i '1{/env python/d}' ephem/tests/test_*.py %build export LANG=en_US.UTF8 -%python_build +%pyproject_wheel %install export LANG=en_US.UTF8 -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -64,6 +65,6 @@ popd %license LICENSE %doc README.rst %{python_sitearch}/ephem -%{python_sitearch}/ephem-%{version}*-info +%{python_sitearch}/ephem-%{version}.dist-info %changelog