From 7850439d785a0d8db9e93fede9996647bc7a0349 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Tue, 26 Jul 2005 15:51:44 +0000 Subject: [PATCH] list auto-generated .pyc and .pyo files --- gimp.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gimp.spec b/gimp.spec index b04a273..c5c72b7 100644 --- a/gimp.spec +++ b/gimp.spec @@ -143,6 +143,12 @@ ln -s ../../../../gimp/%{interfacever}/images/wilber-icon.png $RPM_BUILD_ROOT/%{ 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 @@ fi - 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 - fix inline asm of MMX/SSE optimizations instead of using -mmmx and the like