%define srcname coverage Name: python-%{srcname} Version: 3.5.1 Release: %mkrel 2 Summary: Code coverage measurement for Python Group: Development/Python License: BSD URL: http://nedbatchelder.com/code/coverage Source0: http://pypi.python.org/packages/source/c/coverage/%{srcname}-%{version}.tar.gz BuildRequires: python-setuptools BuildRequires: python-devel %description Coverage.py measures code coverage, typically during test execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. %prep %setup -q -n %{srcname}-%{version} %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/* %{python_sitearch}/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 3.5.1-2.mga3 + Revision: 378620 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Sun Feb 12 2012 fwang <fwang> 3.5.1-1.mga2 + Revision: 208187 - new version 3.5.1 * Sun Jul 17 2011 fwang <fwang> 3.5-1.mga2 + Revision: 125401 - imported package python-coverage