spot pushed to python-coverage (f22). "no longer run 2to3 on the python3 sources"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Apr 6 13:15:01 UTC 2015


>From 8702d7fb8556600ed6b690cd903496d7f443aa21 Mon Sep 17 00:00:00 2001
From: Tom Callaway <spot at fedoraproject.org>
Date: Mon, 6 Apr 2015 09:14:52 -0400
Subject: no longer run 2to3 on the python3 sources


diff --git a/python-coverage.spec b/python-coverage.spec
index 23d5dd4..a2a406e 100644
--- a/python-coverage.spec
+++ b/python-coverage.spec
@@ -17,7 +17,7 @@
 Name:           python-coverage
 Summary:        Code coverage testing module for Python
 Version:        4.0
-Release:        0.5.%{?prever}%{?dist}
+Release:        0.6.%{?prever}%{?dist}
 License:        BSD and (MIT or GPLv2)
 Group:          System Environment/Libraries
 URL:            http://nedbatchelder.com/code/modules/coverage.html
@@ -27,7 +27,6 @@ Patch0:		python-coverage-4.0a5-unicodefix.patch
 BuildRequires:  python-setuptools, python2-devel
 Requires:       python-setuptools
 %if 0%{?with_python3}
-BuildRequires:  /usr/bin/2to3
 BuildRequires:  python3-setuptools, python3-devel
 %endif # with_python3
 
@@ -62,9 +61,6 @@ sed -i 's/\r//g' README.txt
 %if 0%{?with_python3}
 rm -rf %{py3dir}
 cp -a . %{py3dir}
-pushd %{py3dir}
-2to3 --nobackups --write .
-popd
 %endif # if with_python3
 
 %build
@@ -124,6 +120,9 @@ popd
 
 
 %changelog
+* Sat Apr 04 2015 Ralph Bean <rbean at redhat.com> 4.0-0.6.a5
+- No longer run 2to3 on the python3 sources.
+
 * Wed Mar 25 2015 Tom Callaway <spot at fedoraproject.org> 4.0-0.5.a5
 - unicode fixup
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/python-coverage.git/commit/?h=f22&id=8702d7fb8556600ed6b690cd903496d7f443aa21


More information about the scm-commits mailing list