[packages/python-django] mimic template cleanup for python3 as well; refs b9c2b422

glen glen at pld-linux.org
Mon Jun 27 23:22:41 CEST 2016


commit 76025b570a6517a60ce40795901d68458ac94ea6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jun 28 00:20:58 2016 +0300

    mimic template cleanup for python3 as well; refs b9c2b422

 python-django.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/python-django.spec b/python-django.spec
index dea9257..2628bb5 100644
--- a/python-django.spec
+++ b/python-django.spec
@@ -97,6 +97,8 @@ ln -sf py2-django-admin $RPM_BUILD_ROOT%{_bindir}/django-admin
 
 %if %{with python3}
 %py3_install
+find $RPM_BUILD_ROOT%{py3_sitescriptdir}/django/conf/*_template -name __pycache__ | xargs rm -r
+
 mv $RPM_BUILD_ROOT%{_bindir}/{django-admin.py,py3-django-admin}
 %if %{without python2}
 # default to python2 if built
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-django.git/commitdiff/76025b570a6517a60ce40795901d68458ac94ea6



More information about the pld-cvs-commit mailing list