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

Contents of /updates/infra_5/python-django-evolution/current/SPECS/python-django-evolution.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 908594 - (show annotations) (download)
Sun Dec 6 16:22:21 2015 UTC (8 years, 4 months ago) by philippem
File size: 1481 byte(s)
clean BR, add requires python-django16
1
2 Name: python-django-evolution
3 Version: 0.7.6
4 Release: %mkrel 1
5 Summary: Schema evolution for Django
6
7 Group: Development/Python
8 License: BSD
9 URL: https://github.com/beanbaginc/django-evolution
10 Source0: http://downloads.reviewboard.org/releases/django-evolution/0.7/django_evolution-%{version}.tar.gz
11 # Patches from Fedora
12 Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
13
14
15
16 BuildArch: noarch
17 BuildRequires: pkgconfig(python)
18 BuildRequires: python-setuptools
19 Requires: python-django16
20
21 %description
22 When you run ./manage.py syncdb, Django will look for any new models that
23 have been defined, and add a database table to represent those new models.
24 However, if you make a change to an existing model, ./manage.py syncdb will
25 not make any changes to the database.
26
27 This is where Django Evolution fits in. Django Evolution is an extension to
28 Django that allows you to track changes in your models over time, and to
29 update the database to reflect those changes.
30
31 %prep
32 %setup -q -n django_evolution-%{version}
33 %autopatch -p1
34
35 %build
36 %{__python} setup.py build
37
38 %install
39 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
40 # Delete tests. They aren't useful in an installed system
41 rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/tests
42
43
44 %files
45 %doc AUTHORS LICENSE NEWS PKG-INFO docs/
46 %{python_sitelib}/django_evolution/*
47 %{python_sitelib}/django_evolution-%{version}*.egg-info
48
49

  ViewVC Help
Powered by ViewVC 1.1.30