- Fix FTBFS with newer coverage
This commit is contained in:
parent
cbe4798379
commit
123f1ca214
16
nose-coverage-0.3.4.patch
Normal file
16
nose-coverage-0.3.4.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: nose-0.11.4/functional_tests/doc_tests/test_coverage_html/coverage_html.rst
|
||||
===================================================================
|
||||
--- nose-0.11.4.orig/functional_tests/doc_tests/test_coverage_html/coverage_html.rst
|
||||
+++ nose-0.11.4/functional_tests/doc_tests/test_coverage_html/coverage_html.rst
|
||||
@@ -32,9 +32,9 @@ The console coverage output is printed,
|
||||
test_covered.test_blah ... hi
|
||||
ok
|
||||
<BLANKLINE>
|
||||
- Name Stmts Exec Cover Missing
|
||||
+ Name Stmts Miss Cover Missing
|
||||
-------------------------------------
|
||||
- blah 4 3 75% 6
|
||||
+ blah 4 1 75% 6
|
||||
----------------------------------------------------------------------
|
||||
Ran 1 test in ...s
|
||||
<BLANKLINE>
|
@ -10,13 +10,15 @@
|
||||
|
||||
Name: python-nose
|
||||
Version: 0.11.4
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A discovery-based unittest extension for Python
|
||||
|
||||
Group: Development/Languages
|
||||
License: LGPLv2+ and Public Domain
|
||||
URL: http://somethingaboutorange.com/mrl/projects/nose/
|
||||
Source0: http://somethingaboutorange.com/mrl/projects/nose/nose-%{version}.tar.gz
|
||||
# Upstream has this change already.
|
||||
Patch0: nose-coverage-0.3.4.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
@ -58,6 +60,7 @@ Documentation for Nose
|
||||
|
||||
%prep
|
||||
%setup -q -n %{upstream_name}-%{version}
|
||||
%patch0 -p1 -b .coverage
|
||||
|
||||
dos2unix examples/attrib_plugin.py
|
||||
|
||||
@ -104,6 +107,9 @@ rm -rf %{buildroot}
|
||||
%endif # with_docs
|
||||
|
||||
%changelog
|
||||
* Tue Dec 7 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.11.4-2
|
||||
- Fix FTBFS with newer coverage
|
||||
|
||||
* Thu Oct 21 2010 Luke Macken <lmacken@redhat.com> - 0.11.4-1
|
||||
- Update to 0.11.4 (#3630722)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user