- Don't run tests on SLE, they break the build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=2
This commit is contained in:
Sascha Peilicke 2011-09-21 10:17:05 +00:00 committed by Git OBS Bridge
parent 321a37a8eb
commit c3da627fb0
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 21 10:15:51 UTC 2011 - saschpe@suse.de
- Don't run tests on SLE, they break the build
-------------------------------------------------------------------
Wed Sep 21 09:47:31 UTC 2011 - saschpe@suse.de

View File

@ -55,8 +55,11 @@ sed -i "1d" docutils/{math/math2html,_string_template_compat,error_reporting,wri
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
for i in %{buildroot}%{_bindir}/rst*; do mv "$i" "${i/.py}"; done # Remove useless ".py" ending from executables
%if ! 0%{?sles_version}
# Tests break SLE builds
%check
cd test && python alltests.py
%endif
%files
%defattr(-,root,root,-)