SPECS: template.spec - cleanup backups

Paweł Gołaszewski blues at pld-linux.org
Tue May 30 21:59:26 CEST 2006

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?
These files (some *.bak, *~ an many more) are not needed almoust always.

P.S.: sure, it should be detachable :)

pozdr.  Paweł Gołaszewski          jid:blues<at>jabber<dot>gda<dot>pl
If you think of MS-DOS as mono, and Windows as stereo, then Linux is Dolby
Pro-Logic Surround Sound with Bass Boost and all the music is free.

More information about the pld-devel-en mailing list