> Jerry Sternesky wrote:
> > You can do an rpm -Uvh on the package and it will install the source to
> > /usr/source/RPMS.  Then to build it go into /usr/source/RPMS/SPECS
> >   Then rpm -ba --clean --rmsource <spec-file>
> >
> > Then based on your compile options a shirny new rpm should appear in one
> > of the sub dir's of  /usr/source/RPMS/RPMS.  Mine usually end up in i686
> > or noarch.
> >
> > I usually do this when I have to change an option in the spec file, such
> > as turning on usb support for gpilot.
> >
> > Jerry S.
> >
> > On Saturday 24 March 2001 19:15, Stefaans Mostert wrote:
> > > hi all
> > >
> > > I was wondering what are the commands for installing from a src-rpm ?
> > > does it unpack it somewhere and you build it as normal? Or do you build
> > > the rpm and then install?
> > >
> > > Sorry but I am wacked by this one ;-)
> > >
> > > Stefaans
>
On Sunday 25 March 2001 06:12, Stefaans Mostert wrote:
> Normally when I want to know what my options are I would type
> #./configure --help
> How do I do it in src-rpm?
>
> Stefaans

I usually go to the /usr/source/RPMS/SPEC dir and in the *.spec file, there 
is a line ./ configure followed by options.  I don't know if that is the only 
place where they can be contained or not, but for the few rpms I needed to 
change options on that is where I did it.  This is about the max of my 
knowledge on rpm as I am still trying to learn some of the finer points of it 
myself.  So if there is more to this, I hope someone else will chime in.

Jerry S

Reply via email to