This commit is contained in:
committed by
Git OBS Bridge
parent
fb773154f6
commit
02bda061b3
17
ant.spec
17
ant.spec
@@ -12,12 +12,12 @@
|
||||
|
||||
|
||||
Name: ant
|
||||
BuildRequires: java-1_5_0-gcj-compat-devel unzip xerces-j2 xml-commons-apis-bootstrap
|
||||
BuildRequires: java-devel unzip xerces-j2 xml-commons-apis-bootstrap
|
||||
%define ant_home %{_datadir}/ant
|
||||
%define section free
|
||||
%define cvs_name apache-%{name}
|
||||
Version: 1.7.0
|
||||
Release: 105
|
||||
Release: 80
|
||||
Summary: A Java-Based Build Tool
|
||||
License: The Apache Software License
|
||||
Url: http://jakarta.apache.org/
|
||||
@@ -30,7 +30,6 @@ Source2: %{cvs_name}-%{version}.ant.conf
|
||||
Patch0: %{name}-%{version}-use_system_libs.patch
|
||||
Patch1: %{cvs_name}-%{version}-rpm.patch
|
||||
Patch2: %{name}-%{version}-disable-junit-tests.patch
|
||||
Patch3: %{cvs_name}-%{version}-source-level.patch
|
||||
Patch150: java150_build.patch
|
||||
Requires: xerces-j2 >= 2.7.1-2
|
||||
Requires: jaxp_parser_impl
|
||||
@@ -79,7 +78,6 @@ based on the OS used.
|
||||
|
||||
|
||||
%package manual
|
||||
License: The Apache Software License
|
||||
Summary: Manual for ant
|
||||
Group: Development/Tools/Building
|
||||
|
||||
@@ -91,7 +89,6 @@ This package contains the manual for Apache Ant.
|
||||
|
||||
|
||||
%package javadoc
|
||||
License: The Apache Software License
|
||||
Summary: Javadoc for ant
|
||||
Group: Development/Tools/Building
|
||||
PreReq: coreutils
|
||||
@@ -104,7 +101,6 @@ This package contains the javadoc documentation for Apache Ant.
|
||||
|
||||
|
||||
%package scripts
|
||||
License: The Apache Software License
|
||||
Summary: Additional scripts for ant
|
||||
Group: Development/Tools/Building
|
||||
#AutoReqProv: no
|
||||
@@ -125,7 +121,6 @@ Ant.
|
||||
%patch0
|
||||
#%patch1
|
||||
%patch2
|
||||
%patch3 -b .sav3
|
||||
#%patch150 -p1
|
||||
# Fix temp directory used for file containing large command strings (> 4k)
|
||||
# clean jar files
|
||||
@@ -141,10 +136,7 @@ export CLASSPATH=$(%{_bindir}/build-classpath jaxp_parser_impl xml-commons-apis
|
||||
#[ -z "$JAVA_HOME" ] && JAVA_HOME=%{_jvmdir}/java
|
||||
#. /usr/share/java-utils/java-functions
|
||||
export JAVA_HOME
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export BOOTJAVAC_OPTS="-C -Wno-deprecated"
|
||||
sh bootstrap.sh
|
||||
export CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar
|
||||
sh bootstrap.sh
|
||||
sh build.sh --noconfig jars javadocs
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
@@ -235,9 +227,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
%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
|
||||
* Tue Aug 14 2007 skh@suse.de
|
||||
- disable junit tests and remove junit from BuildRequires to break
|
||||
circular build dependency
|
||||
|
Reference in New Issue
Block a user