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:
parent
d0f1e9e933
commit
14c00b2f98
@ -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
|
Fri Oct 17 07:09:42 UTC 2014 - lars@linux-schulserver.de
|
||||||
|
|
||||||
|
@ -58,11 +58,14 @@ python setup.py build
|
|||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# Requires TestLoader.discover which only exists in Python 2.7.x
|
||||||
|
%if 0%{?suse_version} > 1110
|
||||||
pushd tests
|
pushd tests
|
||||||
# skip the resolver test suite as it requires an internet connection
|
# skip the resolver test suite as it requires an internet connection
|
||||||
test -f test_resolver.py && rm test_resolver.py
|
test -f test_resolver.py && rm test_resolver.py
|
||||||
make check
|
make check
|
||||||
popd
|
popd
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user