I've been building the Cooker abiword packages, and I
have been getting the RPM_BUILD_ROOT showing up in the
/usr/bin/abiword script. Here's a hack from
AbiSource's abiword spec file, some variation of it
should be able to fix the problem in the Mandrake
package (the fix would be placed above #copy the
dictionaries in MDK's spec file):
# Manual fixes to Abi package
# Fixes Abi start script
perl -p -i -e "s|$RPM_BUILD_ROOT||"
$RPM_BUILD_ROOT%{ABIPREFIX}/AbiSuite/bin/AbiWord
--- R P Herrold <[EMAIL PROTECTED]> wrote:
> On Fri, 18 Jan 2002, Chris Edwards wrote:
>
> >
> > * Fri Jan 18 2002 Frederic Crozat
> <[EMAIL PROTECTED]> 0.99.1-1mdk
> >
> > Abisource shows only 0.9.6 released... what's with
> the inconsitancy of
> > version numbers?
>
> Their FTP server has the later version. There is a
> minor
> problem in the specfile of the SRPM, but it works
> well with a
> small 'tweek'
>
> # Fixes for symlink in {prefix}/bin
> mkdir -p $RPM_BUILD_ROOT%{prefix}/bin
> ## RPH
> cd $RPM_BUILD_ROOT
> ## ln ./%{ABIPREFIX}/AbiSuite/bin/AbiWord
> ./%{prefix}/bin/abiword
> cp ./%{ABIPREFIX}/AbiSuite/bin/AbiWord
> ./%{prefix}/bin/abiword
>
> ... the hard link will not work if /usr and
> /usr/share are on
> different partitions; a ln -s does not work for
> reasons I
> do not understand.
>
> -- Russ herrold
>
>
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/