- 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:
parent
321a37a8eb
commit
c3da627fb0
@ -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
|
Wed Sep 21 09:47:31 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
@ -55,8 +55,11 @@ sed -i "1d" docutils/{math/math2html,_string_template_compat,error_reporting,wri
|
|||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
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
|
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
|
%check
|
||||||
cd test && python alltests.py
|
cd test && python alltests.py
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user