17
0

2 Commits

2 changed files with 11 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 05:01:37 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Jun 25 07:09:34 UTC 2023 - Andreas Schneider <asn@cryptomilk.org> Sun Jun 25 07:09:34 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-uritemplate # spec file for package python-uritemplate
# #
# Copyright (c) 2023 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
@@ -26,7 +26,9 @@ License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://pypi.python.org/pypi/uritemplate URL: https://pypi.python.org/pypi/uritemplate
Source: https://files.pythonhosted.org/packages/source/u/uritemplate/uritemplate-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/u/uritemplate/uritemplate-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch BuildArch: noarch
@@ -40,10 +42,10 @@ templates up to and including Level 4 in that specification
%autosetup -p1 -n uritemplate-%{version} %autosetup -p1 -n uritemplate-%{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}
%if %{with tests} %if %{with tests}
@@ -57,6 +59,6 @@ $python tests/test_uritemplate.py
%license LICENSE LICENSE.* %license LICENSE LICENSE.*
%doc AUTHORS.rst HISTORY.rst README.rst %doc AUTHORS.rst HISTORY.rst README.rst
%{python_sitelib}/uritemplate %{python_sitelib}/uritemplate
%{python_sitelib}/uritemplate-%{version}*-info %{python_sitelib}/uritemplate-%{version}.dist-info
%changelog %changelog