commit f49525f0a52f48df299dc7b1139bfdd5b527e57f
Author: Jacek Konieczny <[email protected]>
Date: Thu Mar 3 14:13:49 2016 +0100
Include '*.py' in Python2 build too
without that Django is broken ('migrate' won't work properly)
python-django.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-django.spec b/python-django.spec
index 658932c..c0f0cae 100644
--- a/python-django.spec
+++ b/python-django.spec
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-django.git/commitdiff/f49525f0a52f48df299dc7b1139bfdd5b527e57f
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit