2 |
%define realname django-evolution |
%define realname django-evolution |
3 |
|
|
4 |
Name: python-django-evolution |
Name: python-django-evolution |
5 |
Version: 0.6.5 |
Version: 0.6.7 |
6 |
Release: 1.svn%{alphatag}.%mkrel 1 |
Release: %mkrel 1 |
7 |
Summary: Schema evolution for Django |
Summary: Schema evolution for Django |
8 |
|
|
9 |
Group: Development/Python |
Group: Development/Python |
11 |
URL: http://code.google.com/p/django-evolution/ |
URL: http://code.google.com/p/django-evolution/ |
12 |
# svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag} |
# svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag} |
13 |
# tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag} |
# tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag} |
14 |
Source0: %{realname}-%{alphatag}.tar.gz |
#Source0: %{realname}-%{alphatag}.tar.gz |
15 |
|
Source0: http://pypi.python.org/packages/source/d/django_evolution/django_evolution-%{version}.tar.gz |
16 |
|
# Patches from Fedora |
17 |
|
Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch |
18 |
|
|
19 |
|
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
21 |
|
|
22 |
BuildArch: noarch |
BuildArch: noarch |
23 |
BuildRequires: python-devel |
BuildRequires: python-devel |
24 |
BuildRequires: python-setuptools |
BuildRequires: python-setuptools |
25 |
|
BuildRequires: python-nose |
26 |
|
BuildRequires: python-coverage |
27 |
|
BuildRequires: pyflakes |
28 |
|
BuildRequires: python-sqlite |
29 |
Requires: python-django |
Requires: python-django |
30 |
|
|
31 |
%description |
%description |
39 |
update the database to reflect those changes. |
update the database to reflect those changes. |
40 |
|
|
41 |
%prep |
%prep |
42 |
%setup -q -n %{realname}-%{alphatag} |
%setup -q -n %{realname}-%{version} |
43 |
|
%patch0001 -p1 |
44 |
|
|
45 |
%build |
%build |
46 |
%{__python} setup.py build |
%{__python} setup.py build |
47 |
|
|
48 |
%install |
%install |
|
rm -rf $RPM_BUILD_ROOT |
|
49 |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT |
50 |
|
|
51 |
|
%check |
52 |
|
%{__python} tests/runtests.py |
53 |
|
%{__python} tests/run-pyflakes.py |
54 |
|
|
55 |
%files |
%files |
|
%defattr(-,root,root,-) |
|
56 |
%doc AUTHORS LICENSE README docs/ |
%doc AUTHORS LICENSE README docs/ |
57 |
%{py_puresitedir}/* |
%{py_puresitedir}/* |
58 |
|
|