diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-January/021133.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-January/021133.html | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-January/021133.html b/zarb-ml/mageia-dev/2013-January/021133.html new file mode 100644 index 000000000..3d7d4bea9 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021133.html @@ -0,0 +1,152 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Help with package + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Help%20with%20package&In-Reply-To=%3C1734869052.353397.1357301465134.JavaMail.www%40wsfrf1320%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="021132.html"> + <LINK REL="Next" HREF="021152.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Help with package</H1> + <B>sardine</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Help%20with%20package&In-Reply-To=%3C1734869052.353397.1357301465134.JavaMail.www%40wsfrf1320%3E" + TITLE="[Mageia-dev] Help with package">sardine213 at sfr.fr + </A><BR> + <I>Fri Jan 4 13:11:05 CET 2013</I> + <P><UL> + <LI>Previous message: <A HREF="021132.html">[Mageia-dev] Regression testing for generated RPM +</A></li> + <LI>Next message: <A HREF="021152.html">[Mageia-dev] Help with package +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21133">[ date ]</a> + <a href="thread.html#21133">[ thread ]</a> + <a href="subject.html#21133">[ subject ]</a> + <a href="author.html#21133">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Hi, + +This should work : + +pushd %{buildroot}%{_datadir}/%{name}/basewsw +for i in *; +do +  file=`basename $i` +  ln -sf %{_datadir}/%{name}/basewsw/$i  %{buildroot}%{gamelibdir}/basewsw/$file +done +popd + + + + + +======================================== + +Message du : 03/01/2013 23:00 +De : "Juan Luis Baptiste " <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">juancho at mageia.org</A>> +A : "Mageia development mailing-list" <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mageia-dev at mageia.org</A>> +Copie à : +Sujet : [Mageia-dev] Help with package + + +Hi, + +I'm having a strange problem with warsow's package. To fix bug #8103 I need +to symlink the game data contents from warsow-data into the same directory +were the game libraries are located. The problem is that when I build the +package in my local cauldron installation, the symlinks are correctly +created, but when it's built by the BS they end up broken. I have tried two +ways to create the symlinks, both work fine on my machine but not on the BS: + +ln -sf %{_datadir}/%{name}/basewsw/*  %{buildroot}%{gamelibdir}/basewsw + +or: + +for i in %{_datadir}/%{name}/basewsw/*; +do +  file=`basename $i` +  ln -sf $i  %{buildroot}%{gamelibdir}/basewsw/$file +done + +With any of those two ways in my machine the symlinks are correctly created: + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at cauldron-laptop</A> cauldron]# ll /usr/lib64/games/warsow/basewsw/ +total 28 +lrwxrwxrwx 1 root root 47 Jan  3 16:42 configs -> +../../../../../usr/share/warsow/basewsw/configs/ +lrwxrwxrwx 1 root root 52 Jan  3 16:42 data0_10.pk3 -> +../../../../../usr/share/warsow/basewsw/data0_10.pk3 +lrwxrwxrwx 1 root root 56 Jan  3 16:42 data0_10pure.pk3 -> +../../../../../usr/share/warsow/basewsw/data0_10pure.pk3 +lrwxrwxrwx 1 root root 52 Jan  3 16:42 data1_10.pk3 -> +../../../../../usr/share/warsow/basewsw/data1_10.pk3 +[...] + +But on the BS this is the result: + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at localhost</A> juancho]# ls -l /usr/lib64/games/warsow/basewsw/ +total 0 +lrwxrwxrwx 1 root root 41 Jan  3 11:13 * -> +../../../../../usr/share/warsow/basewsw/* + +A broken link to '*'. What can be causing this ? + +Thanks. + +-- +Juancho +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="021132.html">[Mageia-dev] Regression testing for generated RPM +</A></li> + <LI>Next message: <A HREF="021152.html">[Mageia-dev] Help with package +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#21133">[ date ]</a> + <a href="thread.html#21133">[ thread ]</a> + <a href="subject.html#21133">[ subject ]</a> + <a href="author.html#21133">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |