diff --git a/python-elementpath.changes b/python-elementpath.changes index c04e693..f471995 100644 --- a/python-elementpath.changes +++ b/python-elementpath.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 23 01:30:07 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Wed Mar 19 07:53:13 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-elementpath.spec b/python-elementpath.spec index 01e6f4b..218d89a 100644 --- a/python-elementpath.spec +++ b/python-elementpath.spec @@ -26,8 +26,10 @@ URL: https://github.com/sissaschool/elementpath Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module lxml} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,10 +46,10 @@ data structures, both for the standard ElementTree library and for the rm tests/test_schema_proxy.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,6 +67,6 @@ donttest+=" or test_validate_json_to_xml" %doc CHANGELOG.rst README.rst %license LICENSE %{python_sitelib}/elementpath -%{python_sitelib}/elementpath-%{version}*-info +%{python_sitelib}/elementpath-%{version}.dist-info %changelog