- Fix build.

This commit is contained in:
Alexander Kurtakov 2010-10-01 09:29:25 +03:00
parent 13bb071d5c
commit 24d1c06339

View File

@ -1,6 +1,6 @@
Name: batik
Version: 1.7
Release: 7%{?dist}
Release: 8%{?dist}
Summary: Scalable Vector Graphics for Java
License: ASL 2.0
URL: http://xml.apache.org/batik/
@ -32,6 +32,7 @@ BuildRequires: jython
BuildRequires: rhino >= 1.5
BuildRequires: jpackage-utils >= 1.5
BuildRequires: xerces-j2
BuildRequires: xalan-j2
BuildRequires: xml-commons-apis >= 1.3.04
BuildRequires: java-javadoc >= 1:1.6.0
@ -39,6 +40,7 @@ BuildRequires: rhino-javadoc
Requires: java >= 1:1.6.0
Requires: rhino >= 1.5
Requires: xalan-j2
Requires: xml-commons-apis >= 1.3.04
@ -135,7 +137,7 @@ popd
%build
export CLASSPATH=$(build-classpath xml-commons-apis xml-commons-apis-ext js rhino xalan-j2 xerces-j2)
export CLASSPATH=$(build-classpath xml-commons-apis xml-commons-apis-ext js rhino xalan-j2 xalan-j2-serializer xerces-j2)
ant all-jar jars\
-Ddebug=on \
-Dsun-codecs.present=false \
@ -297,6 +299,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Oct 1 2010 Alexander Kurtakov <akurtako@redhat.com> 1.7-8
- Fix build.
* Fri Oct 1 2010 Alexander Kurtakov <akurtako@redhat.com> 1.7-7
- BR/R java 1.6.0 not java-openjdk.
- Cleanup build section.