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
This commit is contained in:
Denisart Benjamin 2014-11-26 17:44:20 +00:00 committed by Git OBS Bridge
parent d0f1e9e933
commit 14c00b2f98
2 changed files with 8 additions and 0 deletions

View File

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

View File

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