This commit is contained in:
6
ant.spec
6
ant.spec
@@ -42,7 +42,7 @@ Patch5: apache-ant-bootstrap.patch
|
||||
Patch6: reproducible-build-date.patch
|
||||
Patch7: ant-python3.patch
|
||||
BuildRequires: antlr-bootstrap
|
||||
BuildRequires: java-devel >= 1.6
|
||||
BuildRequires: java-devel >= 1.8
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: unzip
|
||||
BuildRequires: xml-commons-apis-bootstrap
|
||||
@@ -66,7 +66,7 @@ BuildRequires: xml-commons-apis
|
||||
BuildRequires: strip-nondeterminism
|
||||
%endif
|
||||
%if %{with bootstrap}
|
||||
Requires: java-devel >= 1.6
|
||||
Requires: java-devel >= 1.8
|
||||
Requires: javapackages-tools
|
||||
Requires: jaxp_parser_impl
|
||||
Requires: xml-commons-apis
|
||||
@@ -380,7 +380,7 @@ rm -rf build/lib/ant-jai.jar build/lib/ant-netrexx.jar
|
||||
%if %{with bootstrap}
|
||||
export GC_MAXIMUM_HEAP_SIZE="134217728" #128M
|
||||
export JAVA_HOME="%{java_home}"
|
||||
export BOOTJAVAC_OPTS="-source 1.6 -target 1.6"
|
||||
export BOOTJAVAC_OPTS="-source 8 -target 8"
|
||||
sh -x ./build.sh --noconfig jars
|
||||
|
||||
%endif
|
||||
|
Reference in New Issue
Block a user