We got following build warning when build Realplayer

/net/jdsserv.ireland/webroots/jds.ireland/htdocs/build_reports/gnome2.22/nightly/S11x/2008-04-14/SUNWrealplayer.log:pkgbuild:
 WARNING: usr/bin/realplay is an absolute symlink

This is because we originally create the symbol link for realplay from a 
absolute location /usr/lib/RealPlay/realplay, pkgbuild generally don't like it 
and generate the Warning (although it has no side effect). 

To fix the warning, we can simply create the link based on relative location 
(see attached patch).

Chris




===================================================================
--- SUNWrealplayer.spec (revision 13745)
+++ SUNWrealplayer.spec (working copy)
@@ -148,7 +148,7 @@
# /usr/bin
install -d $RPM_BUILD_ROOT%{_bindir}
cd $RPM_BUILD_ROOT%{_bindir}
-ln -s /usr/lib/RealPlay/realplay realplay
+ln -s ../lib/RealPlay/realplay realplay

# browser plugins
mv $RPM_BUILD_ROOT%{_libdir}/RealPlay/mozilla
$RPM_BUILD_ROOT%{_libdir}/RealPlay/%{browser_name}
@@ -385,6 +385,9 @@
%endif


Reply via email to