Elan Ruusamäe <[EMAIL PROTECTED]> [30-05-2006 23:14]:
> 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?
>> These files (some *.bak, *~ an many more) are not needed almoust always.
> i was thinking maybe it would be possible to hook into %prep macro like 'unset
> DISPLAY' and friends are done. but it needs to be _last_ in %prep section. i
> don't know how to do that.

An opt-out macro like this is IMHO asking for trouble.  Eventual gain
(like, one line less somewhere) won't balance the hours spend on
wondering "wtf doesn't work here".

-- 
Radosław Zieliński <[EMAIL PROTECTED]>

Attachment: pgp4hJDL2SdeQ.pgp
Description: PGP signature

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to