Fix build with java 9

OBS-URL: https://build.opensuse.org/package/show/Java:packages/hamcrest?expand=0&rev=26
This commit is contained in:
2017-09-08 07:35:02 +00:00
committed by Git OBS Bridge
parent c9664b1583
commit 644316f566
3 changed files with 1150 additions and 4 deletions

View File

@@ -49,9 +49,9 @@ Patch3: %{name}-%{version}-javadoc.patch
#PATCH-FIX-UPSTREAM: random build crash fix
Patch4: hamcrest-1.3-random-build-crash.patch
Patch5: hamcrest-1.3-fork-javac.patch
Patch6: hamcrest-1.3-javadoc9.patch
BuildRequires: ant >= 1.6.5
# Disable this one whenever the javadoc build is fixed for jdk9
BuildRequires: java-1_8_0-openjdk-devel
BuildRequires: java-devel >= 1.6.0
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
BuildRequires: qdox
@@ -97,6 +97,7 @@ ln -sf $(build-classpath qdox) lib/generator/
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
perl -pi -e 's/\r$//g' LICENSE.txt