Accepting request 526037 from Java:packages

Fix build with java 9

OBS-URL: https://build.opensuse.org/request/show/526037
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aelfred?expand=0&rev=23
This commit is contained in:
Dominique Leuenberger 2017-09-14 19:17:16 +00:00 committed by Git OBS Bridge
commit 5f877c02fb
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 14 07:54:54 UTC 2017 - fstrba@suse.com
- Specify java source level 1.6 to allow building with jdk9
-------------------------------------------------------------------
Thu Dec 4 17:36:21 UTC 2014 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package aelfred
#
# Copyright (c) 2014 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
@ -61,8 +61,8 @@ export JAVA_HOME=%{java_home}
export PATH=%{java_home}/bin:$PATH
export CLASSPATH=
cd net
%{javac} -source 1.4 `find . -name \*.java`
%{javadoc} -source 1.4 -d ../HTML `find . -name \*.java`
%{javac} -source 1.6 `find . -name \*.java`
%{javadoc} -source 1.6 -d ../HTML `find . -name \*.java`
%install
# jar