Automatic BuildRequires

Richard W.M. Jones rjones at redhat.com
Thu Nov 6 11:16:50 UTC 2008


On Thu, Nov 06, 2008 at 06:15:38AM -0500, Ignacio Vazquez-Abrams wrote:
> On Thu, 2008-11-06 at 11:01 +0000, Richard W.M. Jones wrote:
> > [I'm sure this isn't the first time this has occurred to someone, or
> > even been done -- but couldn't find anything for it in Google ...]
> > 
> > http://et.redhat.com/~rjones/auto-buildrequires/
> > 
> > This tries to find the correct set of BuildRequires automatically when
> > running 'rpmbuild'.  Just replace the ordinary rpmbuild command with
> > auto-br-rpmbuild, and it will print out a suggested set of
> > BuildRequires lines at the end.  For example:
> 
> I take it that it needs to be run in a system/root that already has the
> appropriate packages installed?

Yes, you just run it on a normal system.  The main idea is so you
don't have to keep submitting Koji jobs because you missed out some
BuildRequires.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v




More information about the devel mailing list