Matej Cepl 2023-07-04 22:17:41 +00:00 committed by Git OBS Bridge
parent 764a686a85
commit 65b735a82a

View File

@ -32,8 +32,9 @@ BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module idna >= 2.0} BuildRequires: %{python_module idna >= 2.0}
# test requirements # test requirements
BuildRequires: %{python_module multidict >= 4.0} BuildRequires: %{python_module multidict >= 4.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-idna >= 2.0 Requires: python-idna >= 2.0
@ -49,10 +50,10 @@ sed -i '/addopts/d' setup.cfg
%build %build
export CFLAGS="%{optflags} -Wno-return-type" export CFLAGS="%{optflags} -Wno-return-type"
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
%check %check