Odd mock build problem

Michael Schwendt bugs.michael at gmx.net
Sun Mar 5 23:58:41 UTC 2006


On Sun, 5 Mar 2006 23:18:46 +0100, Oliver Andrich wrote:

> On Sun, Mar 05, 2006 at 02:02:55PM -0700, Kevin Fenzi wrote:
> > Oliver> I will check this today, but my first test shows it works like
> > Oliver> a charm.  I will submit it later today. Thanks a lot. And
> > Oliver> thanks for the patch to ruby-http-access2.
> > 
> > Perhaps I have missed something here, but I can see that this would
> > work fine for local mock builds where you have ruby installed, but how
> > does it work with the build system? Or does it?
> 
> Well, the point is, that ruby gets pulled into the build system by this
> rpm spec file magic. 

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.




More information about the fedora-extras-list mailing list