blob: b689bb4e6c573e3b61af5648b33a23e248c0ab04 (
plain)
1
2
3
4
5
6
7
8
|
<br><br><div class="gmail_quote">On Sat, Jan 5, 2013 at 2:02 AM, Juan Luis Baptiste <span dir="ltr"><<a href="mailto:juancho@mageia.org" target="_blank">juancho@mageia.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br> Got it working with:<br><div class="gmail_quote"><div><br></div><div>for i in `%{_datadir}/warsow/basewsw/*`;</div><div>do</div><div> file=`basename $i`</div><div> ln -sf $i %{gamelibdir}/basewsw/$file</div>
<div>done </div></div><br clear="all"><div>The game name in the for loop was wrong.</div><div><br></div><div><br></div></blockquote><div><br></div><div>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:</div>
<div><br></div><div><a href="http://svnweb.mageia.org/packages/cauldron/warsow-data/current/SPECS/warsow-data.spec?revision=338836&view=markup">http://svnweb.mageia.org/packages/cauldron/warsow-data/current/SPECS/warsow-data.spec?revision=338836&view=markup</a></div>
<div><br></div></div>-- <br>Juancho
|