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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1914950 - (hide annotations) (download)
Fri Dec 2 22:35:05 2022 UTC (16 months, 2 weeks ago) by danf
File size: 1412 byte(s)
SILENT: Switch source URLs to https:
1 ahmad 42369
2     Name: python-django-evolution
3 philippem 908580 Version: 0.7.6
4 umeabot 1274575 Release: %mkrel 4
5 ahmad 42369 Summary: Schema evolution for Django
6    
7     Group: Development/Python
8     License: BSD
9 philippem 908580 URL: https://github.com/beanbaginc/django-evolution
10 danf 1914950 Source0: https://downloads.reviewboard.org/releases/django-evolution/0.7/django_evolution-%{version}.tar.gz
11 philippem 334323 # Patches from Fedora
12 philippem 908580 Patch0001: FED01-Disable-ez_setup-when-installing-by-RPM.patch
13 philippem 334323
14 ahmad 42369 BuildArch: noarch
15 philippem 472007 BuildRequires: pkgconfig(python)
16 philippem 174579 BuildRequires: python-setuptools
17 philippem 908653 Requires: python-django16
18 ahmad 42369
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 philippem 334329 %setup -q -n django_evolution-%{version}
31 ovitters 878160 %autopatch -p1
32 ahmad 42369
33 philippem 908653
34 ahmad 42369 %build
35 philippem 908653 %py2_build
36 ahmad 42369
37 philippem 908653
38 ahmad 42369 %install
39 philippem 908653 %py2_install
40 philippem 334329 # Delete tests. They aren't useful in an installed system
41     rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/tests
42 ahmad 42369
43 philippem 334323
44 ahmad 42369 %files
45 philippem 650700 %doc AUTHORS LICENSE NEWS PKG-INFO docs/
46 philippem 908653 %{python2_sitelib}/django_evolution/*
47     %{python2_sitelib}/django_evolution-%{version}*.egg-info
48 ahmad 42369
49    

  ViewVC Help
Powered by ViewVC 1.1.30