list auto-generated .pyc and .pyo files

This commit is contained in:
Nils Philippsen 2005-07-26 15:51:44 +00:00
parent 48acc7b220
commit 7850439d78

View File

@ -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 <nphilipp@redhat.com>
- fix inline asm of MMX/SSE optimizations instead of using -mmmx and the like