[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: What is up with BuildRoot ?



On Fri, Apr 21, 2006 at 08:44:17AM -0500, Tim Mooney wrote:

> > For a build POV, $RPM_BUILD_ROOT is an added prefix to the install path.
> 
> Which is pretty much what "prepends" means, and how I interpreted what
> Anh said. ;-)

But Anh was referring to the %files section.  IMHO, the %files section
is a list of filepaths that will be included in the target package, so
talking about "prepending" directories there sounds confusing.

> From an install point of view, or an %install point of view?  I tend to
> think of $RPM_BUILD_ROOT from a *build* point of view, possibly because of
> that _BUILD_ in the middle of the env.  I pretty much never think of it
> as something that gets deleted at some later point.  To me, it's something
> that's there during the build process (which, in my little conceptual
> world, includes %install).

Well, if you consider %files just as the target tree and remember that
this tree can be found below $RPM_BUILD_ROOT, no directory names have
to be prepended or removed from the filenames at all... :-).

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]