diff --git a/python-coverage-3.5.3-pickle.patch b/python-coverage-3.5.3-pickle.patch deleted file mode 100644 index ed24d01..0000000 --- a/python-coverage-3.5.3-pickle.patch +++ /dev/null @@ -1,19 +0,0 @@ -# HG changeset patch -# User Ned Batchelder -# Date 1349312975 14400 -# Node ID 16020b834643bb8b9953b8d4bcc09691deb549b9 -# Parent 70e174f7312c87101b0b5be7ec7dd1acf7869f12 -Fix #193: The status.dat file written by py2 can't be read by py3 - -diff -r 70e174f7312c87101b0b5be7ec7dd1acf7869f12 -r 16020b834643bb8b9953b8d4bcc09691deb549b9 coverage/html.py ---- a/coverage/html.py Wed Oct 03 07:48:04 2012 -0400 -+++ b/coverage/html.py Wed Oct 03 21:09:35 2012 -0400 -@@ -281,7 +281,7 @@ - status = pickle.load(fstatus) - finally: - fstatus.close() -- except IOError: -+ except (IOError, ValueError): - usable = False - else: - usable = True diff --git a/python-coverage-4.0a5-unicodefix.patch b/python-coverage-4.0a5-unicodefix.patch deleted file mode 100644 index ec86a81..0000000 --- a/python-coverage-4.0a5-unicodefix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -up coverage-4.0a5/coverage/annotate.py.orig coverage-4.0a5/coverage/annotate.py ---- coverage-4.0a5/coverage/annotate.py.orig 2015-03-25 10:33:54.569942923 -0400 -+++ coverage-4.0a5/coverage/annotate.py 2015-03-25 10:34:22.775668752 -0400 -@@ -89,4 +89,4 @@ class AnnotateReporter(Reporter): - dest.write('> ') - else: - dest.write('! ') -- dest.write(line) -+ dest.write(line.encode('utf-8')) diff --git a/python-coverage.spec b/python-coverage.spec index ee73704..a422706 100644 --- a/python-coverage.spec +++ b/python-coverage.spec @@ -17,13 +17,14 @@ Name: python-coverage Summary: Code coverage testing module for Python Version: 4.0 -Release: 0.8.%{?prever}%{?dist} +Release: 0.9.%{?prever}%{?dist} License: BSD and (MIT or GPLv2) Group: System Environment/Libraries URL: http://nedbatchelder.com/code/modules/coverage.html Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{?prever}.tar.gz BuildRequires: python-setuptools, python2-devel Requires: python-setuptools +Provides: python2-coverage = %{version}-%{release} %if 0%{?with_python3} BuildRequires: python3-setuptools, python3-devel %endif # with_python3 @@ -117,6 +118,9 @@ popd %changelog +* Mon Jul 13 2015 Tom Callaway - 4.0-0.9.a6 +- add missing Provides: python2-coverage + * Tue Jul 7 2015 Tom Callaway - 4.0-0.8.a6 - update to 4.0a6