diff --git a/python-idna.spec b/python-idna.spec index 8ea6a9f..0a70056 100644 --- a/python-idna.spec +++ b/python-idna.spec @@ -26,7 +26,10 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/kjd/idna Source0: https://files.pythonhosted.org/packages/source/i/idna/idna-%{version}.tar.gz +BuildRequires: %{python_module flit-core} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20220106.80d3756 BuildArch: noarch @@ -47,10 +50,10 @@ library but currently only supports the older 2003 specification. %setup -q -n idna-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check