Mailinglist Archive: opensuse-buildservice (233 mails)
| < Previous | Next > |
Re: [opensuse-buildservice] Bug or unimplemented?
- From: Michal Marek <mmarek@xxxxxxx>
- Date: Fri, 25 May 2007 20:22:40 +0200
- Message-id: <46572970.2010305@xxxxxxx>
Troy Telford wrote:
> If the "%{?foo:}" syntax is implemented, I'm willing to wager that the problem
> isn't with the %{?foo:} syntax, but instead with the macros between line(s)
> 39-46 of the attached .spec.
>
> The check(), def(), and def_machines() macros are some of the more arcane
> macros I've seen. But they help make the code in %build, as well as setting
> the defaults for the various '--with' options rather clean.
...
> %{expand: %%define pdsh_with() %%((%{check with})||(%{check without}))%%{nil}}
%(...) expansion isn't implemented in the specfile parser and can't be
for security reasons. OTOH why do you need such macros, when you can't
set the environment variables anyway?
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
> If the "%{?foo:}" syntax is implemented, I'm willing to wager that the problem
> isn't with the %{?foo:} syntax, but instead with the macros between line(s)
> 39-46 of the attached .spec.
>
> The check(), def(), and def_machines() macros are some of the more arcane
> macros I've seen. But they help make the code in %build, as well as setting
> the defaults for the various '--with' options rather clean.
...
> %{expand: %%define pdsh_with() %%((%{check with})||(%{check without}))%%{nil}}
%(...) expansion isn't implemented in the specfile parser and can't be
for security reasons. OTOH why do you need such macros, when you can't
set the environment variables anyway?
Michal
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx
| < Previous | Next > |