summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2013-03-27 21:23:37 (GMT)
committerDavid Malcolm <dmalcolm@redhat.com>2013-03-27 21:23:37 (GMT)
commit70134fdca596f0bdc557848fd8efb4c1c52e1c7b (patch)
treeed7afe5b31222172f8ab5fd689362e2b83c60251
parent2d39b5c932529b3922358f4f865b9ed40f9e081d (diff)
downloadpython-rdflib-70134fdca596f0bdc557848fd8efb4c1c52e1c7b.zip
python-rdflib-70134fdca596f0bdc557848fd8efb4c1c52e1c7b.tar.gz
python-rdflib-70134fdca596f0bdc557848fd8efb4c1c52e1c7b.tar.xz
3.2.3-4: disable doctests (rhbz#914414)f19
* Wed Mar 27 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-4 - disable doctests (rhbz#914414)
-rw-r--r--python-rdflib.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/python-rdflib.spec b/python-rdflib.spec
index 8b768d9..9a9bf1c 100644
--- a/python-rdflib.spec
+++ b/python-rdflib.spec
@@ -2,7 +2,7 @@
Name: python-rdflib
Version: 3.2.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Python library for working with RDF
Group: Development/Languages
@@ -66,7 +66,8 @@ chmod +x $RPM_BUILD_ROOT/%{python_sitelib}/rdflib/plugins/parsers/notation3.py
%if %{run_tests}
sed -i -e "s|'--with-doctest'|#'--with-doctest'|" run_tests.py
sed -i -e "s|'--doctest-tests'|#'--doctest-tests'|" run_tests.py
-%{__python} run_tests.py
+sed -i -e "s|with-doctest = 1|#with-doctest = 1|" setup.cfg
+%{__python} run_tests.py --verbose
%endif
%clean
@@ -78,6 +79,9 @@ rm -rf $RPM_BUILD_ROOT
%{python_sitelib}/*
%changelog
+* Wed Mar 27 2013 David Malcolm <dmalcolm@redhat.com> - 3.2.3-4
+- disable doctests (rhbz#914414)
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild