This commit is contained in:
Tom Callaway 2014-10-09 09:49:43 -04:00
parent 698cbd9bf4
commit 2c52a84d45
3 changed files with 11 additions and 5 deletions

1
.gitignore vendored
View File

@ -9,3 +9,4 @@ coverage-3.4.tar.gz
/coverage-3.6.tar.gz
/coverage-3.7.tar.gz
/coverage-3.7.1.tar.gz
/coverage-4.0a1.tar.gz

View File

@ -2,6 +2,8 @@
%global with_python3 1
%endif
%global prever a1
%{!?python_sitearch: %global python_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?python2_shortver: %global python2_shortver %(%{__python2} -c 'import sys; print(str(sys.version_info.major) + "." + str(sys.version_info.minor))')}
@ -14,12 +16,12 @@
Name: python-coverage
Summary: Code coverage testing module for Python
Version: 3.7.1
Release: 1%{?dist}
Version: 4.0
Release: 0.1.%{?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}.tar.gz
Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{?prever}.tar.gz
BuildRequires: python-setuptools, python2-devel
Requires: python-setuptools
%if 0%{?with_python3}
@ -49,7 +51,7 @@ have been executed.
%endif # with_python3
%prep
%setup -q -n coverage-%{version}
%setup -q -n coverage-%{version}%{?prever}
find . -type f -exec chmod 0644 \{\} \;
sed -i 's/\r//g' README.txt
@ -119,6 +121,9 @@ popd
%changelog
* Thu Oct 9 2014 Tom Callaway <spot@fedoraproject.org> 4.0-0.1.a
- Update to 4.0a1
* Wed Aug 27 2014 Luke Macken <lmacken@redhat.com> - 3.7.1-1
- Update to 3.7.1 (#1043090)

View File

@ -1 +1 @@
c47b36ceb17eaff3ecfab3bcd347d0df coverage-3.7.1.tar.gz
48d6a2d84843b13666b1ea4727e14919 coverage-4.0a1.tar.gz