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
--
Dr. Horst H. von Brand User #22616
counter.li.org
Departamento de Informatica Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria +56 32 2654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 2797513