[GuidelinesChange] Prepping BuildRoot For %install

Chris Weyl cweyl at alumni.drew.edu
Tue Apr 10 05:18:59 UTC 2007


On 4/9/07, Tom Lane <tgl at redhat.com> wrote:
> "Tom \"spot\" Callaway" <tcallawa at redhat.com> writes:
> > It is important to properly prepare the BuildRoot in the %install
> > section of your package before it is used. Every Fedora package MUST
> > have an %install section that begins with either:
> > %install
> > rm -rf %{buildroot}
> > or
> > %install
> > rm -rf $RPM_BUILD_ROOT
>
> Just outta curiosity, why is it not considered an RPM bug that every
> specfile has to take care of this detail?  Seems like it'd be trivial
> to fix it once instead of memorializing this oversight in every package
> till the end of time.

So file one :)

                               -Chris
-- 
Chris Weyl
Ex astris, scientia




More information about the devel mailing list