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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org