diff --git a/python-dnspython.changes b/python-dnspython.changes index 770121c..3d02269 100644 --- a/python-dnspython.changes +++ b/python-dnspython.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 25 11:18:34 UTC 2014 - dmueller@suse.com + +- fix build on SLE11 + ------------------------------------------------------------------- Fri Oct 17 07:09:42 UTC 2014 - lars@linux-schulserver.de diff --git a/python-dnspython.spec b/python-dnspython.spec index bd165ec..4c58a8f 100644 --- a/python-dnspython.spec +++ b/python-dnspython.spec @@ -58,11 +58,14 @@ python setup.py build python setup.py install --prefix=%{_prefix} --root=%{buildroot} %check +# Requires TestLoader.discover which only exists in Python 2.7.x +%if 0%{?suse_version} > 1110 pushd tests # skip the resolver test suite as it requires an internet connection test -f test_resolver.py && rm test_resolver.py make check popd +%endif %files %defattr(-,root,root)