From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2013-January/021113.html | 134 ++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 zarb-ml/mageia-dev/2013-January/021113.html (limited to 'zarb-ml/mageia-dev/2013-January/021113.html') diff --git a/zarb-ml/mageia-dev/2013-January/021113.html b/zarb-ml/mageia-dev/2013-January/021113.html new file mode 100644 index 000000000..795314b93 --- /dev/null +++ b/zarb-ml/mageia-dev/2013-January/021113.html @@ -0,0 +1,134 @@ + + + + [Mageia-dev] Help with package + + + + + + + + + +

[Mageia-dev] Help with package

+ Charles A Edwards + CAE at eslrahc.com +
+ Fri Jan 4 00:10:33 CET 2013 +

+
+ +
On Thu, 3 Jan 2013 22:23:40 +0000 (UTC)
+David Walser wrote:
+
+> > ln -sf %{_datadir}/%{name}/basewsw/*
+> >  %{buildroot}%{gamelibdir}/basewsw  
+> 
+> That creates absolute symlinks rather than relative ones.
+> You shouldn't do absolute ones.
+> 
+> > for i in %{_datadir}/%{name}/basewsw/*;
+> > do
+> >   file=`basename $i`
+> > 
+> >   ln -sf $i  %{buildroot}%{gamelibdir}/basewsw/$file
+> > done  
+> 
+> Looks better, that should make relative links.
+> 
+> The problem is in the first line, the %{_datadir}/%{name}/basewsw/*
+> should have a %{buildroot} at the beginning of it.  Otherwise, it's
+> matching against files on your actual system already installed at
+> that location, which of course won't be there on the build system.
+> That's why the * doesn't match anything, and becomes a literal *.
+
+Why not have it created in post by the warsow-data rpm?
+
+%post
+ln -sf %{_datadir}/warsow/basewsw/*  %{gamelibdir}/basewsw
+
+%postun
+rm -rf %{gamelibdir}/basewsw
+
+
+    Charles
+
+-- 
+"What duck?"
+(Soul Music)
+----------------------
+Mageia release 3 (Cauldron) for x86_64$
+On SuperSize....http://www.eslrahc.com
+Registered Linux user #182463
+3.7.1-server-1.mga3 x86_64
+----------------------
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: signature.asc
+Type: application/pgp-signature
+Size: 198 bytes
+Desc: not available
+URL: </pipermail/mageia-dev/attachments/20130103/8fcf01b7/attachment.asc>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1