Odd mock build problem

Michael Schwendt bugs.michael at gmx.net
Mon Mar 6 11:08:24 UTC 2006


On Mon, 6 Mar 2006 00:01:49 +0000, Jose' Matos wrote:

> On Sunday 05 March 2006 23:58, Michael Schwendt wrote:
> > No. There is no magic. And it doesn't pull in anything. This code simply
> > avoids an undefined variable which results in an empty and hence invalid
> > "Requires" tag and a src.rpm build error. When the src.rpm can be built,
> > only then mock will proceed and evaluate its build requirements.
> 
>   Is this acceptable?

IMO, yes.

With the caveat that anyone, who implements things like this, should
verify what he's doing, since BuildRequires in the spec become Requires in
the src.rpm. So, don't try to influence BuildRequires at src.rpm build-time.




More information about the fedora-extras-list mailing list