This commit is contained in:
Tom Callaway 2015-07-07 15:48:56 -04:00
parent a3e2f88535
commit c9874976bb
3 changed files with 7 additions and 6 deletions

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ coverage-3.4.tar.gz
/coverage-4.0a2.tar.gz /coverage-4.0a2.tar.gz
/coverage-4.0a3.tar.gz /coverage-4.0a3.tar.gz
/coverage-4.0a5.tar.gz /coverage-4.0a5.tar.gz
/coverage-4.0a6.tar.gz

View File

@ -2,7 +2,7 @@
%global with_python3 1 %global with_python3 1
%endif %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)")} %{!?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 Name: python-coverage
Summary: Code coverage testing module for Python Summary: Code coverage testing module for Python
Version: 4.0 Version: 4.0
Release: 0.7.%{?prever}%{?dist} Release: 0.8.%{?prever}%{?dist}
License: BSD and (MIT or GPLv2) License: BSD and (MIT or GPLv2)
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://nedbatchelder.com/code/modules/coverage.html URL: http://nedbatchelder.com/code/modules/coverage.html
Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{?prever}.tar.gz 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 BuildRequires: python-setuptools, python2-devel
Requires: python-setuptools Requires: python-setuptools
%if 0%{?with_python3} %if 0%{?with_python3}
@ -53,7 +51,6 @@ have been executed.
%prep %prep
%setup -q -n coverage-%{version}%{?prever} %setup -q -n coverage-%{version}%{?prever}
%patch0 -p1
find . -type f -exec chmod 0644 \{\} \; find . -type f -exec chmod 0644 \{\} \;
sed -i 's/\r//g' README.txt sed -i 's/\r//g' README.txt
@ -120,6 +117,9 @@ popd
%changelog %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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
37f4d8ae679b2c43a87da8d519817a3b coverage-4.0a5.tar.gz 1bb4058062646148965bef0796b61efc coverage-4.0a6.tar.gz