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