Re: [Cooker] prob with rpm

2000-08-09 Thread Guillaume Cottenceau

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/




Re: [Cooker] prob with rpm

2000-08-03 Thread Anton Graham

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.

-- 
   _
 _|_|_
  ( )   *Anton Graham
  /v\  / [EMAIL PROTECTED]
/(   )X
 (m_m)   GPG ID: 18F78541
Penguin Powered!




Re: [Cooker] prob with rpm

2000-08-03 Thread Chmouel Boudjnah

David Aspinall [EMAIL PROTECTED] writes:

 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 \'
 execution of teyjus-1.0_b29-10mdk script failed, exit status 2

thanks fixed in cooker.

-- 
MandrakeSoft Inchttp://www.mandrakesoft.com
San-Francisco, CA USA --Chmouel




[Cooker] prob with rpm

2000-08-01 Thread 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 \'
execution of teyjus-1.0_b29-10mdk script failed, exit status 2