On Sun, 2006-10-01 at 22:53 -0400, Horst H. von Brand wrote:
Jesse Keating <jkeating(a)redhat.com> wrote:
> On Sunday 01 October 2006 20:12, Jon Nettleton wrote:
> > I see the use of rm commands all the time in spec files. Can anyone
> > explain why this is used instead of the %exclude directive? Not
> > important, just curious because excluding files seems like a much safer
> > and elegant solution.
> Lack of education? Maybe the developer isn't aware of the %exclude, or
> would rather just remove the files anyway. I use rm to remove static
> libraries rather than exclude them.
What is sorely needed is a RPM reference... the "Maximum RPM" book is nice
as narrative, but almost useless at the time of designing a new .spec file
There's the Red Hat RPM Guide -- I'm not sure if it's actually _better_
in this respect (... I've been doing packages for too long to be a good
judgge :-), but it's at least more current.
Online at http://fedora.redhat.com/docs/drafts/rpm-guide-en/
purchasable in printed form as well