[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/gimp/devel gimp.spec,1.76,1.77



Author: nphilipp

Update of /cvs/dist/rpms/gimp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10916

Modified Files:
	gimp.spec 
Log Message:
list auto-generated .pyc and .pyo files



Index: gimp.spec
===================================================================
RCS file: /cvs/dist/rpms/gimp/devel/gimp.spec,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -r1.76 -r1.77
--- gimp.spec	26 Jul 2005 09:39:48 -0000	1.76
+++ gimp.spec	26 Jul 2005 15:51:44 -0000	1.77
@@ -143,6 +143,12 @@
 echo "%defattr (-, root, root)" > gimp-plugin-files
 #find $RPM_BUILD_ROOT/%{_libdir}/gimp/%{interfacever} -type f -exec file {} \; | grep -v perl | cut -d':' -f 1 | sed "s ^$RPM_BUILD_ROOT@@g" | grep -v /usr/lib/gimp/%{interfacever}/modules/.*\.a$ >>gimp-plugin-files
 find $RPM_BUILD_ROOT/%{_libdir}/gimp/%{interfacever} -type f | sed "s ^$RPM_BUILD_ROOT@@g" | egrep -v 'modules/.*\.a$|modules/.*\.la$' >>gimp-plugin-files
+grep "\.py$" gimp-plugin-files > gimp-plugin-files-py
+# .pyc and .pyo files don't exist yet
+for file in $(cat gimp-plugin-files-py); do
+	echo ${file}c
+	echo ${file}o
+done >> gimp-plugin-files
 
 #
 # Auto detect the lang files.
@@ -317,6 +323,7 @@
 - version 2.2.8
 - clean up file list generation a bit
 - gimptool manpage is in section 1 not 5
+- list auto-generated .pyc and .pyo files
 
 * Fri May 13 2005 Nils Philippsen <nphilipp redhat com>
 - fix inline asm of MMX/SSE optimizations instead of using -mmmx and the like


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]