Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
Re: [opensuse-buildservice] Unresolvable?
On Mon, Jan 31, 2011 at 04:16, Ludwig Nussel <ludwig.nussel@xxxxxxx> wrote:
Adrian Schröter wrote:
Am Samstag, 29. Januar 2011, 12:36:15 schrieb Robert Xu:
Hi all,

I made a dummy spec file to test out whether the obs was resolving
dependencies correctly, and it hasn't.

It should not show unresolvable, it should build successfully (I built
the same thing on my local obs and it succeeded)

This line will lead to a parse error:

 %if %{with_crap}

It is an empty line behin %if, if that macro is not defined. Use something

 %if 0%{?with_crap:1}


Or use %bcond. You don't need to edit the spec file to change the flag then.

%bcond_with crap
%if %{with crap}


These work on my local obs, but
they do not work at all on the buildservice. I can give write
permissions if you want to experiment, but I just tried both ways (see
and they both give me back unresolvable.

Note - this is a test spec file, I don't care what happens to it.

later, Robert Xu
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >