%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %define vcstag rc1 Name: Django-south Version: 0.6 Release: 2%{?dist} Summary: Intelligent schema migrations for Django apps Group: Development/Languages License: ASL 2.0 URL: http://south.aeracode.org #hg clone -r 371 https://bitbucket.org/andrewgodwin/south/ Django-south-0.6 #tar zcf Django-south-0.6.tar.gz Django-south-0.6 #Source: Django-south-%{version}.tar.gz Source: http://www.aeracode.org/releases/south/south-0.6.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python-devel python-setuptools-devel Requires: Django %description South brings migrations to Django applications. Its main objectives are to provide a simple, stable and database-independent migration layer to prevent all the hassle schema changes over time bring to your Django applications. %prep %setup -q -n south #%setup -q -n %{name}-%{version} %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc docs/ %{python_sitelib}/* %changelog * Wed Aug 13 2009 Diego Búrigo Zacarão 0.6-2 - Updated SPEC to use the upstream tar.gz instead of the VCS checkout * Sun Aug 11 2009 Diego Búrigo Zacarão 0.6-1 - Updated to 0.6 Release * Sun Aug 11 2009 Diego Búrigo Zacarão 0.6-0.1.20090811hgrc1 - Initial RPM release