[Mageia-dev] Help with package

Juan Luis Baptiste juancho at mageia.org
Mon Jan 7 09:00:03 CET 2013


On Sat, Jan 5, 2013 at 2:02 AM, Juan Luis Baptiste <juancho at mageia.org>wrote:

>
>  Got it working with:
>
> for i in `%{_datadir}/warsow/basewsw/*`;
> do
>    file=`basename $i`
>    ln -sf $i  %{gamelibdir}/basewsw/$file
> done
>
> The game name in the for loop was wrong.
>
>
>
Well, it worked on x86_64, but  on i586 the symlinks are created under
/usr/lib64/games/warsow/basewsw instead of /usr/lib/games/warsow/basewsw
but I don't understand why, it seems that for some reason, the %{_libdir}
macro is expanding to /usr/lib64 on the BS. This is the spec if someone
wants to take a look:

http://svnweb.mageia.org/packages/cauldron/warsow-data/current/SPECS/warsow-data.spec?revision=338836&view=markup

-- 
Juancho
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-dev/attachments/20130107/f85bc886/attachment.html>


More information about the Mageia-dev mailing list