Fix build with java 9

OBS-URL: https://build.opensuse.org/package/show/Java:packages/jzlib?expand=0&rev=21
This commit is contained in:
Fridrich Strba 2017-09-08 09:24:00 +00:00 committed by Git OBS Bridge
parent 17e4b79b4d
commit 46bd0f3b48
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 8 09:23:28 UTC 2017 - fstrba@suse.com
- Specify java source and target level 1.6 in order to allow build
with jdk9
-------------------------------------------------------------------
Fri Jun 9 10:39:43 UTC 2017 - tchvatal@suse.com

View File

@ -56,7 +56,7 @@ rm misc/mindtermsrc-v121-compression.patch
%build
ant \
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
dist
%install