This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
|
||||
|
||||
Name: ant-antlr
|
||||
BuildRequires: ant antlr bcel bsf jaf jakarta-commons-logging java-devel javamail jdepend junit log4j oro regexp unzip update-alternatives xalan-j2 xerces-j2
|
||||
BuildRequires: ant antlr bcel bsf jaf jakarta-commons-logging javamail jdepend junit log4j oro regexp unzip update-alternatives xalan-j2 xerces-j2
|
||||
BuildRequires: java-1_5_0-gcj-compat-devel
|
||||
%define ant_home %{_datadir}/ant
|
||||
%define ant_name ant
|
||||
%define section free
|
||||
@@ -31,6 +32,7 @@ Requires: %{ant_name} = %{version}
|
||||
Conflicts: ant-optional-clean, ant-optional-full
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch150: java150_build.patch
|
||||
Patch3: apache-ant-%{version}-source-level.patch
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@@ -250,6 +252,7 @@ This package contains optional trax tasks for Apache Ant.
|
||||
# Fix temp directory used for file containing large command strings (> 4k)
|
||||
# clean jar files
|
||||
%patch150 -p1
|
||||
%patch3 -b .sav3
|
||||
find . -name "*.jar" -exec rm -f {} \;
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -261,6 +264,9 @@ export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis
|
||||
#[ -r %{_sysconfdir}/java/java.conf ] && . %{_sysconfdir}/java/java.conf
|
||||
#[ -z "$JAVA_HOME" ] && JAVA_HOME=%{_jvmdir}/java
|
||||
export JAVA_HOME
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar
|
||||
export BOOTJAVAC_OPTS="-C -Wno-deprecated"
|
||||
sh build.sh --noconfig jars javadocs
|
||||
|
||||
%install
|
||||
@@ -496,6 +502,9 @@ popd
|
||||
%{ant_home}/etc/coverage-frames.xsl
|
||||
|
||||
%changelog
|
||||
* Wed May 07 2008 mvyskocil@suse.cz
|
||||
- build using gcj, to allow a openjdk6 bootstrap
|
||||
- change a source and a target level to 1.5 in build.xml
|
||||
* Sun Feb 17 2008 coolo@suse.de
|
||||
- fix changelog for build service
|
||||
* Sun Jul 08 2007 dbornkessel@suse.de
|
||||
|
Reference in New Issue
Block a user