From 7279e0ba0ecb603cbfaa98cb91045f62838f82107b1bee72510aa2442f09ce2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Fri, 1 Mar 2019 12:30:27 +0000 Subject: [PATCH] fix deps OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiodns?expand=0&rev=9 --- python-aiodns.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python-aiodns.spec b/python-aiodns.spec index 2ce86f3..40acbd1 100644 --- a/python-aiodns.spec +++ b/python-aiodns.spec @@ -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