Mailinglist Archive: opensuse-buildservice (124 mails)

< Previous Next >
Re: [opensuse-buildservice] new dependency errors in OBS
On Mon, Mar 25, 2013 at 03:16:16PM +0100, Dirk Müller wrote:
What is the reason for the errors in Virtualization:libguestfs-devel?

You can not do %if0/%endif around Macros in the prjconf. This way you
had a superfluous %endif in the build config, which
caused the errors you were seeing.

Just a bit of clarification on what's going on here: the Macros section
basically goes to the /usr/lib/rpm/macros file, which has the syntax

%<macroname> <definition>

So if you add

%if something

to the Macros section, you're defining a Macro that replaces the %if
statements in the specfile...

Cheers,
Michael.

--
Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >