|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global prever a5
|
|
|
|
|
%global prever a6
|
|
|
|
|
|
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
|
@ -17,13 +17,11 @@
|
|
|
|
|
Name: python-coverage
|
|
|
|
|
Summary: Code coverage testing module for Python
|
|
|
|
|
Version: 4.0
|
|
|
|
|
Release: 0.7.%{?prever}%{?dist}
|
|
|
|
|
Release: 0.8.%{?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
|
|
|
|
|
# https://bitbucket.org/ned/coveragepy/issue/363/annotate-command-hits-unicode-happy-fun
|
|
|
|
|
Patch0: python-coverage-4.0a5-unicodefix.patch
|
|
|
|
|
BuildRequires: python-setuptools, python2-devel
|
|
|
|
|
Requires: python-setuptools
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
@ -53,7 +51,6 @@ have been executed.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n coverage-%{version}%{?prever}
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
find . -type f -exec chmod 0644 \{\} \;
|
|
|
|
|
sed -i 's/\r//g' README.txt
|
|
|
|
@ -120,6 +117,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 7 2015 Tom Callaway <spot@fedoraproject.org> - 4.0-0.8.a6
|
|
|
|
|
- update to 4.0a6
|
|
|
|
|
|
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.0-0.7.a5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|