diff --git a/python-Routes.changes b/python-Routes.changes index ddd8816..404eac4 100644 --- a/python-Routes.changes +++ b/python-Routes.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 24 02:21:54 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Jun 7 12:54:57 UTC 2024 - Markéta Machová diff --git a/python-Routes.spec b/python-Routes.spec index 6dcf857..fe83b01 100644 --- a/python-Routes.spec +++ b/python-Routes.spec @@ -1,7 +1,7 @@ # # spec file for package python-Routes # -# 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 @@ -28,9 +28,11 @@ Patch: remove-six.patch # for testing BuildRequires: %{python_module WebOb} BuildRequires: %{python_module WebTest} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module repoze.lru} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-repoze.lru >= 0.3 @@ -46,10 +48,10 @@ A Routing package for Python that matches URL's to dicts and vice versa. %autosetup -p1 -n Routes-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -59,6 +61,6 @@ A Routing package for Python that matches URL's to dicts and vice versa. %license LICENSE.txt %doc CHANGELOG.rst README.rst %{python_sitelib}/routes -%{python_sitelib}/Routes-%{version}*-info +%{python_sitelib}/[Rr]outes-%{version}.dist-info %changelog