SPECS: batik.spec - Fixed setting HAVA_HOME. - Doesn't build for m...

qrczak qrczak at pld-linux.org
Fri Mar 2 16:47:19 CET 2007


Author: qrczak                       Date: Fri Mar  2 15:47:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Fixed setting HAVA_HOME.
- Doesn't build for me anyway.

---- Files affected:
SPECS:
   batik.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/batik.spec
diff -u SPECS/batik.spec:1.19 SPECS/batik.spec:1.20
--- SPECS/batik.spec:1.19	Mon Feb 12 22:23:48 2007
+++ SPECS/batik.spec	Fri Mar  2 16:47:14 2007
@@ -4,13 +4,14 @@
 Name:		batik
 Version:	1.6
 %define	_snap	408156
-Release:	1.%{_snap}.1
+Release:	1.%{_snap}.2
 License:	Apache
 Group:		Applications/Publishing/XML/Java
 Source0:	%{name}-svn-%{_snap}.tar.bz2
 # Source0-md5:	4b0d5ee20c804c244b547f3427502652
 URL:		http://xml.apache.org/batik/
 BuildRequires:	jdk
+BuildRequires:	jpackage-utils
 BuildRequires:	unzip
 Requires:	jre
 BuildArch:	noarch
@@ -39,9 +40,8 @@
 %setup -q -n xml-%{name}
 
 %build
-JAVA_HOME=%{_libdir}/java
-#JAVA_HOME=/usr/lib/jvm/java-sun-1.5.0.06
-export JAVA_HOME
+unset CLASSPATH || :
+export JAVA_HOME="%{java_home}"
 
 #sh build.sh dist-tgz # does not work :-(
 sh build.sh dist-zip
@@ -74,6 +74,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2007/03/02 15:47:14  qrczak
+- Fixed setting HAVA_HOME.
+- Doesn't build for me anyway.
+
 Revision 1.19  2007/02/12 21:23:48  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/batik.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list