|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global prever b2
|
|
|
|
|
%global prever b3
|
|
|
|
|
|
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
|
Name: python-coverage
|
|
|
|
|
Summary: Code coverage testing module for Python
|
|
|
|
|
Version: 4.0
|
|
|
|
|
Release: 0.11.%{?prever}%{?dist}
|
|
|
|
|
Release: 0.12.%{?prever}%{?dist}
|
|
|
|
|
License: BSD and (MIT or GPLv2)
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://nedbatchelder.com/code/modules/coverage.html
|
|
|
|
@ -54,7 +54,7 @@ have been executed.
|
|
|
|
|
%setup -q -n coverage-%{version}%{?prever}
|
|
|
|
|
|
|
|
|
|
find . -type f -exec chmod 0644 \{\} \;
|
|
|
|
|
sed -i 's/\r//g' README.txt
|
|
|
|
|
sed -i 's/\r//g' README.rst
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
@ -98,7 +98,7 @@ done
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc README.txt
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{_bindir}/coverage
|
|
|
|
|
%{_bindir}/coverage2
|
|
|
|
|
%{_bindir}/coverage-2*
|
|
|
|
@ -118,6 +118,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Sep 9 2015 Tom Callaway <spot@fedoraproject.org> - 4.0-0.12.b3
|
|
|
|
|
- update to 4.0b3
|
|
|
|
|
|
|
|
|
|
* Fri Aug 28 2015 Tom Callaway <spot@fedoraproject.org> - 4.0-0.11.b2
|
|
|
|
|
- update to 4.0b2
|
|
|
|
|
|
|
|
|
|