Fix build with jdk9

OBS-URL: https://build.opensuse.org/package/show/Java:packages/oro?expand=0&rev=13
This commit is contained in:
Fridrich Strba 2017-09-10 07:07:03 +00:00 committed by Git OBS Bridge
parent 6d047c1b2c
commit 92c6c71002
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Sep 10 07:06:34 UTC 2017 - fstrba@suse.com
- Specify java source and target level 1.6 in order to allow
building with jdk9
-------------------------------------------------------------------
Fri Jun 9 10:22:50 UTC 2017 - tchvatal@suse.com

View File

@ -53,7 +53,7 @@ for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
%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 \
-Dfinal.name=%{name} jar
%install