[suggest] spec conditionals

David Hrbác( hrbac.conf at seznam.cz
Thu Oct 2 13:10:24 CEST 2008

Joe Pruett napsal(a):
> it looks like %{error:string} doesn't exit, just display the error.  one
> online doc mentions %quit, which isn't valid, but does cause the build
> to stop.  so now i have:
> %{?dtag:%{expand: %%define %dtag 1}}
> %{?el4:%define PAMD imap.pamd}
> %{?el5:%define PAMD imap.pamd.new}
> %{!?PAMD:%{error:Unknown dtag => %dtag}}
> %{!?PAMD:%quit}

Expand like that
%{?dist:%{expand: %%define %dist 1}}
does not work for me. I'm getting:
error: Macro % has illegal name (%define)

More information about the users mailing list