Fix build with jdk9

OBS-URL: https://build.opensuse.org/package/show/Java:packages/wsdl4j?expand=0&rev=19
This commit is contained in:
Fridrich Strba 2017-09-11 20:10:26 +00:00 committed by Git OBS Bridge
parent 777c436985
commit feafe52df1
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 11 20:09:45 UTC 2017 - fstrba@suse.com
- Specify java source and target level 1.6 in order to allow
building with jdk9
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 19 12:12:11 UTC 2017 - tchvatal@suse.com Fri May 19 12:12:11 UTC 2017 - tchvatal@suse.com

View File

@ -60,7 +60,7 @@ Description Language for Java.
%setup -q -n %{name}-1_6_3 %setup -q -n %{name}-1_6_3
%build %build
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 compile javadocs ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 compile javadocs
%install %install
# inject OSGi manifests # inject OSGi manifests