[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Odd mock build problem
- From: Rex Dieter <rdieter math unl edu>
- To: fedora-extras-list redhat com
- Subject: Re: Odd mock build problem
- Date: Tue, 28 Feb 2006 22:19:50 -0600
Jason L Tibbitts III wrote:
>>>>>> "RD" == Rex Dieter <rdieter math unl edu> writes:
>
> RD> It's the empty "Requires:" on line 21 causing the problem.
>
> Unfortunately it's not empty:
>
> Requires: %{ruby_sitelib}
>
> or, more precisely, it's only showing up as empty because ruby isn't
> there.
It *is* empty during the first run to create the srpm.
Here's a trick I've been thinking about using to work around the same
problem when building maxima to make a dependancy against the version of
sbcl used to build it:
# maxima requires the *same* version it was built against
# this hack should work, even in mock (-: -- Rex
%global sbcl_ver %(sbcl --version 2>/dev/null | cut -d' ' -f2)
%if "%{?sbcl_ver}" >= "0.9"
%define sbcl_ver2 = %{sbcl_ver}
%endif
Requires: sbcl %{?sbcl_ver2}
You'll need to do something similar.
-- Rex
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]