Use source and target 6

OBS-URL: https://build.opensuse.org/package/show/Java:packages/qdox?expand=0&rev=20
This commit is contained in:
Fridrich Strba 2018-04-05 06:13:22 +00:00 committed by Git OBS Bridge
parent adaf7877ce
commit 20bc5522c9
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 5 06:12:32 UTC 2018 - fstrba@suse.com
- Build with java source and target version 6 in order to produce
bytecode understood by all supported java versions
-------------------------------------------------------------------
Fri Jun 9 10:30:22 UTC 2017 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package qdox
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -101,7 +101,7 @@ pushd target
popd
mv target/Parser.java src/java/com/thoughtworks/qdox/parser/impl
rm -f src/java/com/thoughtworks/qdox/junit/APITestCase.java
ant -Dbuild.sysclasspath=only jar
ant -Dant.build.javac.source=6 -Dant.build.javac.target=6 -Dbuild.sysclasspath=only jar
%install
# jars