SPECS: python-django.spec - fix

arekm arekm at pld-linux.org
Sat Dec 10 23:08:46 CET 2005


Author: arekm                        Date: Sat Dec 10 22:08:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix

---- Files affected:
SPECS:
   python-django.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/python-django.spec
diff -u SPECS/python-django.spec:1.1 SPECS/python-django.spec:1.2
--- SPECS/python-django.spec:1.1	Sat Dec 10 00:57:43 2005
+++ SPECS/python-django.spec	Sat Dec 10 23:08:41 2005
@@ -34,9 +34,13 @@
 	--optimize 2 \
 	--root=$RPM_BUILD_ROOT
 
+find $RPM_BUILD_ROOT -type f -name '*.pyc' -exec rm "{}" ";"
+find $RPM_BUILD_ROOT -type f -name '*.pyo' -exec rm "{}" ";"
+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
+# %%py_postclean
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,6 +57,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/12/10 22:08:41  arekm
+- fix
+
 Revision 1.1  2005/12/09 23:57:43  arekm
 - new
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/python-django.spec?r1=1.1&r2=1.2&f=u




More information about the pld-cvs-commit mailing list