SPECS: java-sun.spec - $ORIGIN workaround; rel 2

glen glen at pld-linux.org
Fri Oct 12 17:12:33 CEST 2007


Author: glen                         Date: Fri Oct 12 15:12:32 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- $ORIGIN workaround; rel 2

---- Files affected:
SPECS:
   java-sun.spec (1.189 -> 1.190) 

---- Diffs:

================================================================
Index: SPECS/java-sun.spec
diff -u SPECS/java-sun.spec:1.189 SPECS/java-sun.spec:1.190
--- SPECS/java-sun.spec:1.189	Sat Aug 25 20:27:44 2007
+++ SPECS/java-sun.spec	Fri Oct 12 17:12:27 2007
@@ -11,7 +11,7 @@
 Summary(pl.UTF-8):	Sun JDK - środowisko programistyczne Javy dla Linuksa
 Name:		java-sun
 Version:	1.6.0.02
-Release:	1
+Release:	2
 License:	restricted, distributable
 Group:		Development/Languages/Java
 Source0:	http://download.java.net/dlj/binaries/jdk-%{_src_ver}-dlj-linux-i586.bin
@@ -281,6 +281,8 @@
 cp %{SOURCE2} Test.java
 
 %build
+# $ORIGIN does not work on PLD builders. workaround.
+export LD_LIBRARY_PATH=$(pwd)/jre/lib/%{arch}/jli
 ./bin/javac Test.java
 classver=$(file Test.class | grep -o 'compiled Java class data, version [0-9.]*' | awk '{print $NF}')
 if [ "$classver" != %{_classdataversion} ]; then
@@ -832,6 +834,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.190  2007/10/12 15:12:27  glen
+- $ORIGIN workaround; rel 2
+
 Revision 1.189  2007/08/25 18:27:44  qboosh
 - typo
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-sun.spec?r1=1.189&r2=1.190&f=u



More information about the pld-cvs-commit mailing list