Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/relaxngDatatype?expand=0&rev=11
This commit is contained in:
parent
59d1d0f814
commit
5b336073f7
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 10 07:09:02 UTC 2017 - fstrba@suse.com
|
||||
|
||||
- Specify java source and target levels 1.6 in order to allow
|
||||
building with jdk9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 9 10:36:56 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
|
@ -46,7 +46,7 @@ sed -i -e 's/.$//' copying.txt
|
||||
%build
|
||||
ant \
|
||||
-Dbuild.sysclasspath=only \
|
||||
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
|
||||
-Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6
|
||||
|
||||
%install
|
||||
install -Dpm 644 %{name}.jar \
|
||||
|
Loading…
Reference in New Issue
Block a user