|
|
@ -1,15 +1,14 @@
|
|
|
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-coverage
|
|
|
|
Name: python-coverage
|
|
|
|
Summary: Code coverage testing module for Python
|
|
|
|
Summary: Code coverage testing module for Python
|
|
|
|
Version: 2.85
|
|
|
|
Version: 3.0.1
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: BSD
|
|
|
|
License: BSD
|
|
|
|
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://nedbatchelder.com/code/modules/coverage-%{version}.tar.gz
|
|
|
|
Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: python-setuptools, python-devel
|
|
|
|
BuildRequires: python-setuptools, python-devel
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -30,7 +29,6 @@ chmod -x coverage.egg-info/*.txt
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
|
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
|
chmod +x %{buildroot}%{python_sitelib}/coverage.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
@ -39,10 +37,13 @@ rm -rf %{buildroot}
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README.txt
|
|
|
|
%doc README.txt
|
|
|
|
%{_bindir}/coverage
|
|
|
|
%{_bindir}/coverage
|
|
|
|
%{python_sitelib}/coverage.py*
|
|
|
|
%{python_sitearch}/coverage/
|
|
|
|
%{python_sitelib}/coverage*.egg-info/
|
|
|
|
%{python_sitearch}/coverage*.egg-info/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Aug 10 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 3.0.1-1
|
|
|
|
|
|
|
|
- update to 3.0.1
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.85-3
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.85-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|