Ondřej Súkup 2019-03-01 12:30:27 +00:00 committed by Git OBS Bridge
parent 33c43c28ca
commit 7279e0ba0e

View File

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