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?