Re: Building rpm-python from scratch?

Paul Nasrat <[email protected]> Mon, 13 Mar 2006 10:00:18 -0500
Newsgroups gmane.linux.redhat.rpm.python
Organization Red Hat, Inc.
Message-ID <[email protected]>
On Sun, 2006-03-12 at 18:16 -0500, Brad Smith wrote:

> > You need to define topdir
> > 
> > create ~/.rpmmacros with 
> > %_topdir        %(echo $HOME)/src/rpmbuild
> > 
> > Then just use rpmbuild -bb ~/src/rpmbuild/SPECS/rpm.spec
> > 
> 
> That worked. However, there are unmet dependencies that seem to apply the rpm module, but not to
> rpm-python. The rpmbuild man page doesn't seem to say anything about just -bb'ing a sub-package. Do
> you know if that's possible?

Yeah RHEL 3 spec has missing buildreq's, you probably want
beecrypt-devel, gettext-devel and readline-devel amongst others, the
failure output would be useful so I can confirm.  Ensure you've
installed the Development Tools group (IIRC up2date can group install
but I forget what version that went int).

Paul