|
|
|
@ -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)
|
|
|
|
|
|
|
|
|
|