%global pypi_name django-pytest Name: python-%{pypi_name} Version: 0.1.5 Release: 1%{?dist} Summary: Allows you to use py.test as a django test runner License: BSD URL: https://github.com/buchuki/django-pytest Source0: http://pypi.python.org/packages/source/d/django-pytest/django-pytest-0.1.5.tar.gz BuildArch: noarch BuildRequires: python-devel BuildRequires: python-setuptools Requires: python-django Requires: pytest Provides: %{pypi_name} = %{version}-%{release} %description This project allows you to use py.test as a django test runner, instead of the default test runner. %prep %setup -q -n %{pypi_name}-%{version} # remove the bundled egg-info rm -rf %{pypi_name}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root %{buildroot} %files %doc LICENSE.txt README.txt %{python_sitelib}/* %changelog * Wed Mar 28 2012 Bohuslav Kabrda - 0.1.5-1 - Initial package