>From the rpm man page:
rpm --rebuild <source_package_file>+
When invoked this way, rpm installs the named source package, and
does a prep, compile and install. In addition, --rebuild builds a new
binary package. When the build has completed, the build directory is
removed (as in --clean) and the the sources and spec file for the
package are removed.
/b
------------------------
Barry Marler
Department of Medical Microbiology and Parasitology
University of Georgia
(706)542-0742
(706)542-0059 (fax)
On Sat, 18 Dec 1999, Dan Swartzendruber wrote:
> At 12:07 AM 12/19/99 +0100, Davor Cengija wrote:
> >On Sat, 18 Dec 1999, Dan Swartzendruber wrote:
> >
> > >
> > >Is there a trick to installing source RPMs? I
> > >downloaded samba-2.0.5a-3mdk.src.rpm from one of the
> > rpm --rebuild <filename>.src.rpm
> >
> > this will compile <filename>.i586.rpm in
> > /usr/src/RPM/RPMS/i586 and then you need to install those
> > binary files.
> >
> > man rpm is pretty useful.
> Well, no it wasn't, or I wouldn't have asked. Believe me, I spent an hour
> reading through the man page, and it said squat about source rpms :(