[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Odd mock build problem
- From: Oliver Andrich <oliver andrich gmail com>
- To: Discussion related to Fedora Extras <fedora-extras-list redhat com>
- Subject: Re: Odd mock build problem
- Date: Wed, 1 Mar 2006 21:09:36 +0100
On Wed, Mar 01, 2006 at 12:03:06PM -0800, Toshio Kuratomi wrote:
> Here's an adaptation of Rex's maxima/sbcl snippet. I'm not a genius
> with mock and I'm not at all familiar with ruby so this may not work.
> Would you care to give it a test?
>
> # Get Ruby versioning
> # The idea is to make a hack that works, even in mock (-: Thanks Rex!
> %global ruby_ver %(ruby -rrbconfig -e 'puts Config::CONFIG["ruby_version"])
> %if "%{?ruby_ver}" >= "1.8"
> %define ruby_ver2 = %{ruby_ver}
> %endif
> Requires: ruby %{?ruby_ver2}
Hm, sorry if I show my complete misunderstanding, but how can something
like that help? Some of the other readers have stated, that ruby isn't
available at all inside mock. So, how does that work? I am curious.
Best regards and off with a lot to read about mock,
Oliver
--
Oliver Andrich --- oliver andrich gmail com --- http://roughbook.de/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]