Le Jeudi 13 Octobre 2005 08:53, Doug Maxey a écrit :
> Howdy!
>
> Any way to do the equivalent of #ifdef in the rc file? I need to be
> able to change the tmpdir depending on the distro.
Unfortunnally there is not if in rpmmarcos (and not in rpmrc) files.
In macros file you can do somethings like:
%_foo %{?_bar:bar is define}%{?!_bar:bar is not defined}
Attachment:
pgpwejQTQqaPm.pgp
Description: PGP signature