/[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 1914950 - (show annotations) (download)
Fri Dec 2 22:35:05 2022 UTC (16 months, 3 weeks ago) by danf
File size: 1412 byte(s)
SILENT: Switch source URLs to https:
1
2 Name: python-django-evolution
3 Version: 0.7.6
4 Release: %mkrel 4
5 Summary: Schema evolution for Django
6
7 Group: Development/Python
8 License: BSD
9 URL: https://github.com/beanbaginc/django-evolution
10 Source0: https://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 BuildArch: noarch
15 BuildRequires: pkgconfig(python)
16 BuildRequires: python-setuptools
17 Requires: python-django16
18
19 %description
20 When you run ./manage.py syncdb, Django will look for any new models that
21 have been defined, and add a database table to represent those new models.
22 However, if you make a change to an existing model, ./manage.py syncdb will
23 not make any changes to the database.
24
25 This is where Django Evolution fits in. Django Evolution is an extension to
26 Django that allows you to track changes in your models over time, and to
27 update the database to reflect those changes.
28
29 %prep
30 %setup -q -n django_evolution-%{version}
31 %autopatch -p1
32
33
34 %build
35 %py2_build
36
37
38 %install
39 %py2_install
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 %{python2_sitelib}/django_evolution/*
47 %{python2_sitelib}/django_evolution-%{version}*.egg-info
48
49

  ViewVC Help
Powered by ViewVC 1.1.30