[KLUG Members] Building Binary RPM from Source RPM in Redhat 9

Bruce Smith members@kalamazoolinux.org
31 Oct 2003 08:27:00 -0500


> :  rpmbuild -rebuild -recompile  sourcepackage.rpm

Don't use both "-rebuild" and "-recompile".
All you need is "-rebuild".

> I am getting a binary rpm as well as debug-info rpm.
> 
> Is this correct?  

Some SRPM's create multiple RPM's (and some don't).
It depends on what they are configured to do.

The SRPM for the kernel creates many RPM's, including
a source-RPM.  (confused yet? :)

> I downloaded source rpms for Redhat 3 enterprise edition
> from their public ftp and I am trying to build the binary rpms for getting
> a feel of the enterprise edition. I am using Redhat 9 for building the
> binary rpms.


--------------------------------------------
Bruce Smith                bruce@armintl.com
System Administrator / Network Administrator
Armstrong International, Inc.
Three Rivers, Michigan  49093  USA
http://www.armstrong-intl.com/
--------------------------------------------