On Mon, 08 Feb 2010 12:54:56 -0800, Adam wrote:
On Mon, 2010-02-08 at 10:36 -0500, Adam Jackson wrote:
You might like to install additional packages before actually running the rpmbuild -bs, but rpm has no way of expressing this kind of "SourceBuildRequires".
By default, rpmbuild -bs fails if BuildRequires aren't present.
Which is the reason, why tools like mock build the first src.rpm with -bs --nodeps, ... but this has been changed more than a year ago. Since then -bs implies --nodeps.
This suggests that the existing expectation in RPM is that BuildRequires *are* SourceBuildRequires.
Sure, but that doesn't help much if the buildsys needs to create a src.rpm from just the spec file. Since the spec file's BuildRequires become the src.rpm's Requires, it's a chicken-and-egg problem.