Fridrich Strba 2018-05-16 11:57:59 +00:00 committed by Git OBS Bridge
parent e754dd3203
commit fa92fc9b69
3 changed files with 14 additions and 6 deletions

View File

@ -6,8 +6,8 @@
optimize="${optimize}" optimize="${optimize}"
- target="1.3" - target="1.3"
- source="1.3" - source="1.3"
+ target="1.6" + target="8"
+ source="1.6" + source="8"
deprecation="${deprecation}" deprecation="${deprecation}"
classpathref="compile.classpath"> classpathref="compile.classpath">
<exclude name="org/dom4j/datatype/**"/> <exclude name="org/dom4j/datatype/**"/>
@ -15,7 +15,7 @@
<mkdir dir="${build.javadocs}"/> <mkdir dir="${build.javadocs}"/>
<javadoc packagenames="${packages}" <javadoc packagenames="${packages}"
sourcepath="${build.src}" sourcepath="${build.src}"
+ source="1.6" + source="8"
destdir="${build.javadocs}" destdir="${build.javadocs}"
author="true" author="true"
version="true" version="true"
@ -23,7 +23,7 @@
<mkdir dir="${build.javadocs}"/> <mkdir dir="${build.javadocs}"/>
<javadoc packagenames="${packages}" <javadoc packagenames="${packages}"
sourcepath="${build.src}" sourcepath="${build.src}"
+ source="1.6" + source="8"
destdir="${build.javadocs}" destdir="${build.javadocs}"
author="true" author="true"
version="true" version="true"
@ -31,7 +31,7 @@
<mkdir dir="${build.apidocs}"/> <mkdir dir="${build.apidocs}"/>
<javadoc packagenames="${api.packages}" <javadoc packagenames="${api.packages}"
sourcepath="${build.src}" sourcepath="${build.src}"
+ source="1.6" + source="8"
destdir="${build.apidocs}" destdir="${build.apidocs}"
author="true" author="true"
version="true" version="true"

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed May 16 11:56:27 UTC 2018 - fstrba@suse.com
- Modified patch:
* dom4j-sourcetarget.patch
+ Build with source and target 8 to prepare for a possible
removal of 1.6 compatibility in OpenJDK 11
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 8 05:47:14 UTC 2017 - fstrba@suse.com Fri Sep 8 05:47:14 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package dom4j # spec file for package dom4j
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed