packages: pootle/pootle.spec - need to recompile .py[co] for install_dirs.p...

glen glen at pld-linux.org
Tue May 11 01:13:59 CEST 2010


Author: glen                         Date: Mon May 10 23:13:59 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- need to recompile .py[co] for install_dirs.py to bre fresh

---- Files affected:
packages/pootle:
   pootle.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/pootle/pootle.spec
diff -u packages/pootle/pootle.spec:1.3 packages/pootle/pootle.spec:1.4
--- packages/pootle/pootle.spec:1.3	Tue May 11 00:29:10 2010
+++ packages/pootle/pootle.spec	Tue May 11 01:13:54 2010
@@ -6,7 +6,7 @@
 Summary:	Localization and translation management web application
 Name:		pootle
 Version:	2.0.3
-Release:	0.4
+Release:	0.7
 License:	GPL v2+
 Group:		Development/Tools
 URL:		http://translate.sourceforge.net/wiki/pootle/index
@@ -69,6 +69,11 @@
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
 
+# install_dirs.py was modified _after_ install completed, so compile again
+# before py_postclean
+# TODO. compile only install_dirs.py
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_postclean
 
 # Create the manpages
@@ -174,6 +179,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2010/05/10 23:13:54  glen
+- need to recompile .py[co] for install_dirs.py to bre fresh
+
 Revision 1.3  2010/05/10 22:29:10  glen
 - package .tmp dir; proper rpm autodeps
 - xapian indexer is optional and is incompatible before 1.0.13
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/pootle/pootle.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list