diff --git a/python-uritools.changes b/python-uritools.changes index 9d5b541..ed68ee6 100644 --- a/python-uritools.changes +++ b/python-uritools.changes @@ -3,6 +3,7 @@ Mon Jun 10 07:47:32 UTC 2024 - Dirk Müller - update to 4.0.3: * Prepare for Python 3.13. +- use PEP 517 build ------------------------------------------------------------------- Mon Dec 4 11:29:49 UTC 2023 - Dirk Müller diff --git a/python-uritools.spec b/python-uritools.spec index ff5f4be..e94d95b 100644 --- a/python-uritools.spec +++ b/python-uritools.spec @@ -25,7 +25,9 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/tkem/uritools/ Source: https://files.pythonhosted.org/packages/source/u/uritools/uritools-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -38,10 +40,10 @@ URI parsing, classification and composition. %setup -q -n uritools-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -50,6 +52,7 @@ URI parsing, classification and composition. %files %{python_files} %doc CHANGELOG.rst README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/uritools +%{python_sitelib}/uritools-%{version}.dist-info %changelog