diff --git a/python-dnspython.changes b/python-dnspython.changes index 5547a8c..a18ed7c 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jul 18 10:53:18 UTC 2020 - Sebastian Wagner + +- remove test depending on trio, which depends on Python 3.7 if python >= 3.7 is not available. + ------------------------------------------------------------------- Sat Jul 18 10:30:15 UTC 2020 - Sebastian Wagner diff --git a/python-dnspython.spec b/python-dnspython.spec index b5644dd..a63804b 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -27,6 +27,7 @@ Group: Development/Languages/Python URL: https://github.com/rthalley/dnspython Source: https://files.pythonhosted.org/packages/source/d/dnspython/dnspython-%{version}.zip BuildRequires: %{python_module setuptools} +BuildRequires: python3-base >= 3.6 # SECTION tests BuildRequires: %{python_module ecdsa} BuildRequires: %{python_module idna} @@ -70,6 +71,9 @@ chmod -x examples/* %python_expand %fdupes %{buildroot}%{$python_sitelib}/ %check +%if %python3_version_nodots < 37 +rm tests/nanonameserver.py +%endif %python_exec setup.py test %files %{python_files}