Accepting request 399713 from home:dimstar:Factory

Fix build with newer, stricter java 1.8

OBS-URL: https://build.opensuse.org/request/show/399713
OBS-URL: https://build.opensuse.org/package/show/Java:packages/bsf?expand=0&rev=22
This commit is contained in:
Tomáš Chvátal 2016-06-02 16:34:29 +00:00 committed by Git OBS Bridge
parent 385af01119
commit d2a8f67189
3 changed files with 21 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 2 15:13:38 UTC 2016 - fstrba@suse.com
- Update build-file.patch: Disable doclint feature while building
javadoc.
-------------------------------------------------------------------
Wed Mar 25 09:24:47 UTC 2015 - tchvatal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package bsf
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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

View File

@ -1,6 +1,8 @@
--- bsf-2.4.0-orig/build.xml 2009-09-09 11:51:20.000000000 +0200
+++ bsf-2.4.0/build.xml 2009-09-14 08:42:17.000000000 +0200
@@ -102,7 +102,7 @@
Index: bsf-2.4.0/build.xml
===================================================================
--- bsf-2.4.0.orig/build.xml
+++ bsf-2.4.0/build.xml
@@ -102,7 +102,7 @@ Copyright:
<pathelement location="${build.tests}"/>
</path>
@ -9,7 +11,7 @@
<tstamp />
@@ -134,11 +134,13 @@
@@ -134,11 +134,13 @@ Copyright:
<available property="junit.present" classname="junit.framework.TestCase" />
@ -23,3 +25,11 @@
<uptodate property="javadoc.required" targetfile="${build.lib}/${project.name}.jar">
<srcfiles dir="${build.dir}" includes="**/*.html" />
@@ -272,6 +274,7 @@ Copyright:
<fileset dir="${src.dir}">
<patternset refid="java.source.files"></patternset>
</fileset>
+ <arg value="-Xdoclint:none"/>
</javadoc>
</target>