]> git.pld-linux.org Git - packages/python-django.git/commitdiff
- up to 0.95
authorMarcin Gajda <m.gajda@functional-software.com>
Tue, 1 Aug 2006 12:12:38 +0000 (12:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR += python-setuptool >= 0.6-0.c1
- do not compile app and project templates, install them as plain python
  files (needed by django-admin.py utility)
- rel += 0.1

Changed files:
    python-django.spec -> 1.12

python-django.spec

index bc1faedf105bbc1b28f9a58a1d34251bf4f755cb..79fc8ae4b0e09f25cf3929ece7b0cbd27cea21a9 100644 (file)
@@ -3,14 +3,15 @@
 Summary:       The web framework for perfectionists with deadlines
 Summary(pl):   Szkielet WWW dla perfekcjonistów z ograniczeniami czasowymi
 Name:          python-django
-Version:       0.91
-Release:       0.2
+Version:       0.95
+Release:       0.3
 License:       BSD
 Group:         Development/Languages/Python
 Source0:       http://media.djangoproject.com/releases/%{version}/Django-%{version}.tar.gz
-# Source0-md5: b1f13aa828c0a564581043658c66ae3d
+# Source0-md5: 9ed7d6a0daa147c012e31d0894802951
 URL:           http://www.djangoproject.com/
 BuildRequires: python-devel
+BuildRequires: python-setuptools >= 0.6-0.c1
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python
 BuildArch:     noarch
@@ -45,7 +46,8 @@ find $RPM_BUILD_ROOT -type f -exec sed -i -e "s#$RPM_BUILD_ROOT##g" "{}" ";"
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 # %%py_postclean
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name '*.py' -exec rm "{}" ";"
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name '*.py' -a -not -path '*_template*' -exec rm "{}" ";"
+find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -path '*_template*' -a -name '*.py[oc]' -exec rm "{}" ";"
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.091796 seconds and 4 git commands to generate.