fix deps
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=9
This commit is contained in:
parent
33c43c28ca
commit
7279e0ba0e
@ -20,7 +20,6 @@
|
||||
%bcond_with tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-aiodns
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
@ -31,13 +30,15 @@ Url: https://github.com/saghul/aiodns/releases
|
||||
Source0: https://github.com/saghul/aiodns/archive/aiodns-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Requires: python-pycares >= 3.0.0
|
||||
%ifpython2
|
||||
Requires: python-typing
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with tests}
|
||||
BuildRequires: %{python_module pycares}
|
||||
BuildRequires: %{python_module trollius}
|
||||
BuildRequires: %{python_module typing}
|
||||
BuildRequires: python-typing
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user