[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Odd mock build problem



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]