Anton Graham <[EMAIL PROTECTED]> writes:
> Submitted 26-Jul-00 by David Aspinall:
> > rpm-3.0.5-2mdk seems to give silly syntax errors from
> > /var/tmp/rpm-tmp.* all the time, e.g.
> >
> > var/tmp/rpm-tmp.269: line 2: syntax error near unexpected token `;then'
> > var/tmp/rpm-tmp.269: line 2: ` /usr/share/info/teyjus.info.bz2
> > --dir=/usr/share/info/dir --remove ;fiif [ "$1" = "0" ];then /sbin/install-info
> > \'
>
> It's not rpm, it'm macros misbehaving :/
>
> Note to packagers: the %{remove_install_info <pagename>} macros must be in
> braces or they get run together. This generally isn't an issue with
> packages that have only one info page, but when you have multiple pages, you
> end up with the fiif as seen above.
fixed here:
http://www.linux-mandrake.com/howtos/mdk-rpm/more-macros.html
the good solution is AFAIK to not put any {}.
--
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/