%global pypi_name django-pytest
Name: python-%{pypi_name}
Version: 0.2.0
Release: 3%{?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/%{pypi_name}-%{version}.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.md
%{python_sitelib}/django_pytest/
%{python_sitelib}/django_pytest-%{version}-py2.7.egg-info
%changelog
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Wed Mar 28 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.2.0-1
- Update to version 0.2.0
- Be more verbose in %%files section
* Wed Mar 28 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.1.5-1
- Initial package