From 2dc1797ca595b1b05a27a2ccf9efa5e8ae881ea7b3422399c9470de3eb6b59e0 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Wed, 21 Sep 2011 10:17:05 +0000 Subject: [PATCH] - 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 --- python-docutils.changes | 5 +++++ python-docutils.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-docutils.changes b/python-docutils.changes index 42db867..8fff709 100644 --- a/python-docutils.changes +++ b/python-docutils.changes @@ -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 diff --git a/python-docutils.spec b/python-docutils.spec index 30ee489..f70e902 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -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,-)