From 81d9830448a9965f2fa01aa31eb592e964724da15f0def3f62952bca63dc42cc Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sat, 17 Sep 2022 07:15:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-idna?expand=0&rev=28 --- python-idna.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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