Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
[opensuse-buildservice] how to undefine a macro in prjconf
  • From: Dirk Müller <dirk@xxxxxxxx>
  • Date: Fri, 4 Jan 2013 15:29:56 +0100
  • Message-id: <>

how do I undefine or redefine a macro that is defined in the "Macros:"
section of a prjconf?

Assuming I have project A that defines:


%do_foo 1

and a project B that links project A (and thereby inherits the prjconf
of A), but I want to undefine %do_foo there (or define it to 0 at
least), but I fail.

just defining %do_foo 0 does not work (it stays at 1), similarly to
other tricks I was able to imagine (like adding %ifs or the like).

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages