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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 174579 by philippem, Wed Nov 30 20:20:00 2011 UTC revision 334323 by philippem, Sun Dec 23 17:59:15 2012 UTC
# Line 2  Line 2 
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
# Line 11  License:        BSD Line 11  License:        BSD
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
# Line 30  Django that allows you to track changes Line 39  Django that allows you to track changes
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    

Legend:
Removed from v.174579  
changed lines
  Added in v.334323

  ViewVC Help
Powered by ViewVC 1.1.30