Re: SPECS: template.spec - cleanup backups

2006-05-30 Thread Paweł Gołaszewski
On Tue, 30 May 2006, glen wrote: [..] - cleanup backups [...] +# you'll need this if you cp -a complete dir in source +# cleanup backups after patching +find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f Maybe it should be made in every spec? some default rpm-macro?

Re: SPECS: template.spec - cleanup backups

2006-05-30 Thread Elan Ruusamäe
On Tuesday 30 May 2006 22:59, Paweł Gołaszewski wrote: +# you'll need this if you cp -a complete dir in source +# cleanup backups after patching +find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f Maybe it should be made in every spec? some default rpm-macro?

Re: SPECS: template.spec - cleanup backups

2006-05-30 Thread Andrzej Krzysztofowicz
Elan =?utf-8?q?Ruusam=C3=A4e?= wrote: On Tuesday 30 May 2006 22:59, Paweł Gołaszewski wrote: +# you'll need this if you cp -a complete dir in source +# cleanup backups after patching +find . '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f Maybe it should