rpm -ba whatever.spec

If you have the whatever.src.rpm, you can do a rpm --rebuild
whatever.src.rpm and that will do it for you.  The built rpm will end up in
/usr/src/RPMS/, or somewhere under /usr/src depending on your distro.

Jay

> -----Original Message-----
> From: John Miller [mailto:johndmiller at mn.mediaone.net]
> Sent: Sunday, March 04, 2001 9:50 PM
> To: tclug-list at mn-linux.org
> Subject: [TCLUG] rpm compiles
> 
> 
> I have a source file for a drive for a usb device.  I am 
> trying to get it 
> to create a binary.  I have looked at www.rpm.source and 
> tried various 
> combinations of options.  The one that I think should work 
> was rpm -bb 
> usb-.0.2.spec.  I have looked at the man pages and am not having any 
> luck.  Would someone tell me how to build a binary from an rpm source 
> package, please
> 
> John Miller
> 
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>