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

Re: building vs installing from a spec file



On Fri, 15 Jun 2001, Mikkel L. Ellertson wrote:

> On Fri, 15 Jun 2001, rpjday wrote:
>
> >
> >   once i've "rpm -ivh"ed a src.rpm file into /usr/src/redhat,
> > i can process it a number of different ways, including, according
> > to the rpm man page:
> >
> > 	rpm -bi blah.spec		(install into /var/tmp)
> > 	rpm -bb blah.spec		(build an RPM file)
> >
> >   according to that man page, using "-bb" builds a binary package
> > *after* doing the prep, build and install stages.  but if you use
> > -bb, nothing is installed under /var/tmp.  the RPM is certainly
> > built, but effectively the "install" stage is skipped.
> >
> >   a picky point, i admit, but still, the man page appears to
> > be inaccurate on this point.
> >
> > rday
> >
> >
> In my experence, if the build was sucessful, the buildroot tre is
> cleaned up after the binary RPM is written.  If the build fails, you
> will probably see the buildroot tree in /var/tmp.  The install stage in
> indeed being run, and the files installed into the buildroot tree.  It
> is just that they are not left around after the last stage.
>

i figured that was the case.  that's just not made clear from
the man page.

rday

-- 
Robert P. J. Day
Eno River Technologies, Durham NC
Unix, Linux and Open Source training


"This is Microsoft technical support.  How may I misinform you?"





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