This commit is contained in:
Tom Callaway 2012-11-29 13:11:24 -05:00
parent 2f2365705f
commit 0e9b9bb041
3 changed files with 15 additions and 9 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ coverage-3.4.tar.gz
/coverage-3.5.1b1.tar.gz
/coverage-3.5.2b1.tar.gz
/coverage-3.5.3.tar.gz
/coverage-3.6b1.tar.gz

View File

@ -2,7 +2,7 @@
%global with_python3 1
%endif
# %%global betaver b1
%global betaver b1
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
@ -13,13 +13,12 @@
Name: python-coverage
Summary: Code coverage testing module for Python
Version: 3.5.3
Release: 2%{?dist}
Version: 3.6
Release: 0.1.%{?betaver}%{?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}.tar.gz
Patch0: python-coverage-3.5.3-pickle.patch
Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{?betaver}.tar.gz
BuildRequires: python-setuptools, python-devel
Requires: python-setuptools
%if 0%{?with_python3}
@ -49,9 +48,7 @@ have been executed.
%endif # with_python3
%prep
%setup -q -n coverage-%{version}
%patch0 -p1
%setup -q -n coverage-%{version}%{?betaver}
find . -type f -exec chmod 0644 \{\} \;
sed -i 's/\r//g' README.txt
@ -86,11 +83,15 @@ popd
%files
%doc README.txt
%{_bindir}/coverage
%{_bindir}/coverage2
%{_bindir}/coverage-2*
%{python_sitearch}/coverage/
%{python_sitearch}/coverage*.egg-info/
%if 0%{?with_python3}
%files -n python3-coverage
%{_bindir}/coverage-3*
%{_bindir}/coverage3
%{_bindir}/python3-coverage
%{python3_sitearch}/coverage/
%{python3_sitearch}/coverage*.egg-info/
@ -98,6 +99,10 @@ popd
%changelog
* Thu Nov 29 2012 Tom Callaway <spot@fedoraproject.org> - 3.6-0.1.b1
- update to 3.6beta1
- patch0 merged into upstream
* Wed Oct 10 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 3.5.3-2
- Patch from upstream for traceback when people use this with python2 and
python3 in the same directory

View File

@ -1 +1 @@
5f1f523940c473faa8a9f6ca29f78efc coverage-3.5.3.tar.gz
9363480582977076795455b524188263 coverage-3.6b1.tar.gz