summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-08-29 12:57:43 +0300
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-08-29 12:57:43 +0300
commit93e69d0cd31200b7b9e96a6998adcb418757ad72 (patch)
tree2778850cb1cc39290d72dd46c16a91dbc44a3e6a
parent2c607e9d3b7dfd6f99d8f9fd8af0a9da6fb5bf3e (diff)
downloadpython-coverage-93e69d0cd31200b7b9e96a6998adcb418757ad72.tar.gz
python-coverage-93e69d0cd31200b7b9e96a6998adcb418757ad72.tar.bz2
python-coverage-93e69d0cd31200b7b9e96a6998adcb418757ad72.zip
Autoremove imported patches from packaging
Removed all imported patches from python-coverage.spec and patch files from the packaging dir.
-rw-r--r--packaging/python-coverage-3.5.3-pickle.patch20
-rw-r--r--packaging/python-coverage.spec2
2 files changed, 0 insertions, 22 deletions
diff --git a/packaging/python-coverage-3.5.3-pickle.patch b/packaging/python-coverage-3.5.3-pickle.patch
deleted file mode 100644
index 7f456d2..0000000
--- a/packaging/python-coverage-3.5.3-pickle.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-# HG changeset patch
-# User Ned Batchelder <ned@nedbatchelder.com>
-# Date 1349312975 14400
-# Node ID 16020b834643bb8b9953b8d4bcc09691deb549b9
-# Parent 70e174f7312c87101b0b5be7ec7dd1acf7869f12
-Fix #193: The status.dat file written by py2 can't be read by py3
-
-Index: coverage-3.5.1b1/coverage/html.py
-===================================================================
---- coverage-3.5.1b1.orig/coverage/html.py
-+++ coverage-3.5.1b1/coverage/html.py
-@@ -247,7 +247,7 @@ class HtmlStatus(object):
- try:
- status_file = os.path.join(directory, self.STATUS_FILE)
- status = pickle.load(open(status_file, "rb"))
-- except IOError:
-+ except (IOError, ValueError):
- usable = False
- else:
- usable = True
diff --git a/packaging/python-coverage.spec b/packaging/python-coverage.spec
index d01225f..b406dd9 100644
--- a/packaging/python-coverage.spec
+++ b/packaging/python-coverage.spec
@@ -17,7 +17,6 @@ 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}.tar.gz
-Patch0: python-coverage-3.5.3-pickle.patch
BuildRequires: python-setuptools, python-devel
Requires: python-setuptools
%if 0%{?with_python3}
@@ -49,7 +48,6 @@ have been executed.
%prep
%setup -q -n coverage-%{version}
-%patch0 -p1
find . -type f -exec chmod 0644 \{\} \;
sed -i 's/\r//g' README.txt