Dirk Mueller 2022-09-17 07:15:16 +00:00 committed by Git OBS Bridge
parent f8fae017ef
commit 81d9830448

View File

@ -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