%global pkgname django-nose Name: python-django-nose Version: 0.1.3 Release: 1%{?dist} Summary: Django test runner that uses nose License: BSD URL: http://github.com/jbalogh/django-nose Source0: http://pypi.python.org/packages/source/d/django-nose/django-nose-0.1.3.tar.gz #md5=5b4f54f7e0e251b169d86ad6ee6b9b10 BuildArch: noarch BuildRequires: python2-devel python-setuptools Requires: python-nose Requires: Django %description Django test runner that uses nose. %prep %setup -q -n %{pkgname}-%{version} %build # Remove CFLAGS=... for noarch packages (unneeded) %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %files %doc LICENSE README.rst %{python_sitelib}/* %changelog * Tue Jan 31 2012 Matthias Runge <mrunge@matthias-runge.de> - 0.1.3-1 - initial packaging