no longer run 2to3 on the python3 sources
This commit is contained in:
parent
6d5eb7692f
commit
4217e27e98
@ -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@redhat.com> 4.0-0.6.a5
|
||||
- No longer run 2to3 on the python3 sources.
|
||||
|
||||
* Wed Mar 25 2015 Tom Callaway <spot@fedoraproject.org> 4.0-0.5.a5
|
||||
- unicode fixup
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user