forked from pool/apache-ivy
Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-ivy?expand=0&rev=33
This commit is contained in:
@@ -31,8 +31,7 @@ BuildRequires: ant
|
||||
BuildRequires: bouncycastle
|
||||
BuildRequires: commons-httpclient
|
||||
BuildRequires: dos2unix
|
||||
# Disable this one whenever the javadoc build is fixed for jdk9
|
||||
BuildRequires: java-1_8_0-openjdk-devel
|
||||
BuildRequires: java-devel >= 1.6
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: jsch
|
||||
@@ -83,6 +82,7 @@ mkdir -p lib
|
||||
build-jar-repository lib ant ant/ant-nodeps oro jsch commons-httpclient
|
||||
|
||||
# Build
|
||||
export CLASSPATH=$(build-classpath ant ant/ant-nodeps oro jsch commons-httpclient)
|
||||
ant -Dtarget.ivy.version=%{version} /localivy /offline jar javadoc
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user