SPECS: xp.spec - _javaclasspath is exported as $CLASSPATH, use it

glen glen at pld-linux.org
Sun Sep 4 22:51:52 CEST 2005


Author: glen                         Date: Sun Sep  4 20:51:52 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- _javaclasspath is exported as $CLASSPATH, use it

---- Files affected:
SPECS:
   xp.spec (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SPECS/xp.spec
diff -u SPECS/xp.spec:1.16 SPECS/xp.spec:1.17
--- SPECS/xp.spec:1.16	Tue Feb 24 02:11:56 2004
+++ SPECS/xp.spec	Sun Sep  4 22:51:47 2005
@@ -22,6 +22,8 @@
 
 %define		_javaclassdir	%{_datadir}/java/classes
 %define 	_jredir %{_libdir}/jre
+# _javaclasspath exported in build as $CLASSPATH by rpm
+%define		_javaclasspath %{_jredir}/lib/rt.jar:%{_javaclassdir}/sax.jar:.
 
 %description
 XP - an XML Parser in Java.
@@ -37,8 +39,6 @@
 
 %build
 rm -f %{name}.jar
-CLASSPATH=%{_jredir}/lib/rt.jar:%{_javaclassdir}/sax.jar:.
-export CLASSPATH
 find com -name "*.java"  | xargs jikes -depend
 find com -name "*.class" | xargs jar -c0f %{name}.jar
 
@@ -62,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2005/09/04 20:51:47  glen
+- _javaclasspath is exported as $CLASSPATH, use it
+
 Revision 1.16  2004/02/24 01:11:56  ankry
 - pl fixes, cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xp.spec?r1=1.16&r2=1.17&f=u




More information about the pld-cvs-commit mailing list