]> git.pld-linux.org Git - packages/python-django.git/commitdiff
Include '*.py' in Python2 build too
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 3 Mar 2016 13:13:49 +0000 (14:13 +0100)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 3 Mar 2016 13:13:49 +0000 (14:13 +0100)
without that Django is broken ('migrate' won't work properly)

python-django.spec

index 658932c2473876f8934f97e7d582cd1b285d8a56..c0f0caefca4e0cc97d7c3f48540ae874e6769d5b 100644 (file)
@@ -7,7 +7,7 @@ Summary:        The web framework for perfectionists with deadlines
 Summary(pl.UTF-8):     Szkielet WWW dla perfekcjonistów z ograniczeniami czasowymi
 Name:          python-%{module}
 Version:       1.8.7
-Release:       3
+Release:       4
 License:       BSD
 Group:         Libraries/Python
 Source0:       http://www.djangoproject.com/m/releases/1.8/Django-%{version}.tar.gz
@@ -110,7 +110,6 @@ find $RPM_BUILD_ROOT -type f -exec sed -i -e "s#$RPM_BUILD_ROOT##g" "{}" ";"
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 
 # %%py_postclean (only for python2!)
-find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name '*.py' -a -not -path '*_template*' | xargs rm
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -path '*_template*' -a -name '*.py[oc]' | xargs rm
 %endif
 
This page took 0.079561 seconds and 4 git commands to generate.