/[packages]/cauldron/python-django-evolution/current/SPECS/python-django-evolution.spec
ViewVC logotype

Contents of /cauldron/python-django-evolution/current/SPECS/python-django-evolution.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 650699 - (show annotations) (download)
Tue Jul 8 12:37:50 2014 UTC (9 years, 8 months ago) by philippem
File size: 1907 byte(s)
update to 0.7.2
1
2 Name: python-django-evolution
3 Version: 0.7.2
4 Release: %mkrel 1
5 Summary: Schema evolution for Django
6
7 Group: Development/Python
8 License: BSD
9 URL: http://code.google.com/p/django-evolution/
10 # svn export -%{alphatag} http://django-evolution.googlecode.com/svn/trunk/ django-evolution-%{alphatag}
11 # tar zcf django-evolution-%{alphatag}.tar.gz django-evolution-%{alphatag}
12 #Source0: %{realname}-%{alphatag}.tar.gz
13 Source0: http://downloads.reviewboard.org/releases/django-evolution/0.7/django_evolution-%{version}.tar.gz
14 # Patches from Fedora
15 Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
16
17
18
19 BuildArch: noarch
20 BuildRequires: pkgconfig(python)
21 BuildRequires: python-setuptools
22 BuildRequires: python-nose
23 BuildRequires: python-coverage
24 BuildRequires: pyflakes
25 BuildRequires: python-sqlite
26 BuildRequires: python-django
27 Requires: python-django
28
29 %description
30 When you run ./manage.py syncdb, Django will look for any new models that
31 have been defined, and add a database table to represent those new models.
32 However, if you make a change to an existing model, ./manage.py syncdb will
33 not make any changes to the database.
34
35 This is where Django Evolution fits in. Django Evolution is an extension to
36 Django that allows you to track changes in your models over time, and to
37 update the database to reflect those changes.
38
39 %prep
40 %setup -q -n django_evolution-%{version}
41 %patch0001 -p1
42
43 %build
44 %{__python} setup.py build
45
46 %install
47 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
48 # Delete tests. They aren't useful in an installed system
49 rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/tests
50
51 %check
52 %{__python} tests/runtests.py
53 %{__python} tests/run-pyflakes.py
54
55 %files
56 %doc AUTHORS LICENSE README docs/
57 %{python_sitelib}/django_evolution/*
58 %{python_sitelib}/django_evolution-%{version}*.egg-info
59
60

  ViewVC Help
Powered by ViewVC 1.1.30