[TriLUG] SRPMs on RHL 8.0

Jeremy Katz katzj at linuxpower.org
Wed Oct 23 14:22:02 EDT 2002


On Wed, 2002-10-23 at 10:17, Jeremy Portzer wrote:
> Roy Vestal wrote:
> > This brings another question up, could someone post the steps to
> > rebuild the srpms for my box? I know there are others that need this
> > type of help too.
> 
> On Red Hat Linux 8.0, the command is:
>       rpmbuild --rebuild <filename>.srpm
> 
> You may need to install the "rpmbuild" package.
> 
> On previous versions of RHL, the command is what Tanner already posted, 
>       rpm --rebuild <filename>.srpm
> (this should work on Mandrake and other rpm-based distros too)

Actually, rpmbuild --rebuild should work on any distribution using rpm
4.0 or greater.  The build modes of rpm were split out into a separate
binary in rpm 4.0 and the legacy rpm --rebuild behavior was preserved
via popt aliases.  These aliases have been removed as of rpm 4.1.

Cheers,

Jeremy





More information about the TriLUG mailing list