Mailinglist Archive: opensuse-buildservice (233 mails)

< Previous Next >
Re: [opensuse-buildservice] Bug or unimplemented?
  • From: Troy Telford <ttelford.groups@xxxxxxxxx>
  • Date: Thu, 24 May 2007 12:00:53 -0600
  • Message-id: <200705241200.53751.ttelford@xxxxxxxx>
On Thursday 24 May 2007, Marcus Rueckert wrote:
> i think that isnt implemented in the spec file parser. but imho ... the
> obvious workaround ist not
>
> %if 0%{?obensuse_bs}
>
> but:
>
> %if %{?_with_foo}
> BuildRequires: foo
> %endif
>
> which is essentially the same as:
> %{?_with_foo:BuildRequires: foo}

D'oh.  Yup.  So I picked one of the less obvious workarounds...
-- 
Troy Telford
Linux Networx
ttelford@xxxxxxxxxxxxxxxx
(801) 649-1356
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >