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: <CAL5wTH5jt4A=u26mVvryQ7XABH+DTkw81ZxKaAh7iVSJzN-+_Q@mail.gmail.com>
Hi,

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:

Macros:

%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).

Thanks,
Dirk
--
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