From 14c00b2f9809db80d79c8fef5d633d012af308d8c8ad06c5816f70c11aff9fb6 Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Wed, 26 Nov 2014 17:44:20 +0000 Subject: [PATCH] Accepting request 262966 from Cloud:OpenStack:Master - fix build on SLE11 OBS-URL: https://build.opensuse.org/request/show/262966 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dnspython?expand=0&rev=31 --- python-dnspython.changes | 5 +++++ python-dnspython.spec | 3 +++ 2 files changed, 8 insertions(+) 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)