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

Adam Williams members@kalamazoolinux.org
Fri, 31 Oct 2003 09:06:31 -0500


> > :  rpmbuild -rebuild -recompile  sourcepackage.rpm
> Don't use both "-rebuild" and "-recompile".
> All you need is "-rebuild".

I use "rpmbuild -bb {spec}"

You can just throw away the debug RPM, and it is usually huge.

> > 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.