First step to buildability with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/hamcrest?expand=0&rev=25
This commit is contained in:
@@ -50,7 +50,8 @@ Patch3: %{name}-%{version}-javadoc.patch
|
||||
Patch4: hamcrest-1.3-random-build-crash.patch
|
||||
Patch5: hamcrest-1.3-fork-javac.patch
|
||||
BuildRequires: ant >= 1.6.5
|
||||
BuildRequires: java-devel >= 1.6.0
|
||||
# Disable this one whenever the javadoc build is fixed for jdk9
|
||||
BuildRequires: java-1_8_0-openjdk-devel
|
||||
BuildRequires: javapackages-local
|
||||
BuildRequires: javapackages-tools
|
||||
BuildRequires: qdox
|
||||
@@ -101,7 +102,7 @@ perl -pi -e 's/\r$//g' LICENSE.txt
|
||||
|
||||
%build
|
||||
export CLASSPATH=$(build-classpath qdox)
|
||||
ant -Dant.build.javac.source=1.5 -Dversion=%{version} -Dbuild.sysclasspath=last clean core generator library bigjar javadoc
|
||||
ant -Dant.build.javac.source=1.6 -Dversion=%{version} -Dbuild.sysclasspath=last clean core generator library bigjar javadoc
|
||||
|
||||
# inject OSGi manifests
|
||||
mkdir -p META-INF
|
||||
|
Reference in New Issue
Block a user