- Disable testsuite altogether, fails also on the bleeding_edge_* repos

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=7
This commit is contained in:
Sascha Peilicke 2012-04-24 09:02:56 +00:00 committed by Git OBS Bridge
parent f9fed3c555
commit ca9dca7322
2 changed files with 10 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Apr 24 09:02:35 UTC 2012 - saschpe@suse.de
- Disable testsuite altogether, fails also on the bleeding_edge_* repos
-------------------------------------------------------------------
Tue Feb 28 08:58:23 UTC 2012 - saschpe@suse.de

View File

@ -11,7 +11,7 @@
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -19,11 +19,11 @@
Name: python-docutils
Version: 0.8.1
Release: 0
License: public domain, Python, BSD-2-Clause, GPL (see COPYING.txt)
Summary: Python Documentation Utilities
Url: http://docutils.sourceforge.net/
License: Python-2.0, BSD-2-Clause, GPL-2.0+
Group: Development/Languages/Python
Source: http://downloads.sourceforge.net/project/docutils/docutils/0.8.1/docutils-0.8.1.tar.gz
Url: http://docutils.sourceforge.net/
Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
@ -58,16 +58,10 @@ sed -i "s|#!\s*\/usr\/bin\/env python||g" docutils/{math/math2html,_string_templ
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
# Tests break SLE and Mandriva builds
%if ! (0%{?suse_version} && 0%{?suse_version} <= 1110) && ! 0%{?mandriva_version}
%check
cd test && python alltests.py
%endif
%files
%defattr(-,root,root,-)
%doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses
%{_bindir}/rst*
%python_sitelib/*
%{python_sitelib}/*
%changelog