Accepting request 522251 from Java:packages

Fix build with java 9

OBS-URL: https://build.opensuse.org/request/show/522251
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jaxen-bootstrap?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2017-09-13 20:20:35 +00:00 committed by Git OBS Bridge
commit 0875c9a417
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 8 08:20:32 UTC 2017 - fstrba@suse.com
- Build with java target and source level 1.6 in order to allow
building with jdk9
-------------------------------------------------------------------
Mon Sep 9 11:05:56 UTC 2013 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package jaxen-bootstrap
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -138,7 +138,7 @@ maven \
jar
%else
export CLASSPATH=$CLASSPATH:dom4j/dom4j.jar
ant -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
ant -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
-Dbuild.sysclasspath=first
%endif