2 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 24 02:21:54 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 7 12:54:57 UTC 2024 - Markéta Machová <mmachova@suse.com> Fri Jun 7 12:54:57 UTC 2024 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Routes # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -28,9 +28,11 @@ Patch: remove-six.patch
# for testing # for testing
BuildRequires: %{python_module WebOb} BuildRequires: %{python_module WebOb}
BuildRequires: %{python_module WebTest} BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module repoze.lru} BuildRequires: %{python_module repoze.lru}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-repoze.lru >= 0.3 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} %autosetup -p1 -n Routes-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -59,6 +61,6 @@ A Routing package for Python that matches URL's to dicts and vice versa.
%license LICENSE.txt %license LICENSE.txt
%doc CHANGELOG.rst README.rst %doc CHANGELOG.rst README.rst
%{python_sitelib}/routes %{python_sitelib}/routes
%{python_sitelib}/Routes-%{version}*-info %{python_sitelib}/[Rr]outes-%{version}.dist-info
%changelog %changelog