SHA256
1
0
forked from pool/aelfred
Fridrich Strba 2022-03-19 13:00:50 +00:00 committed by Git OBS Bridge
parent 8a567ae3d3
commit 34d11196ce
3 changed files with 54 additions and 2 deletions

43
aelfred-javadoc.patch Normal file
View File

@ -0,0 +1,43 @@
--- aelfred-7.0/net/sf/saxon/aelfred/SAXDriver.java 2022-03-19 13:47:57.460297985 +0100
+++ aelfred-7.0/net/sf/saxon/aelfred/SAXDriver.java 2022-03-19 13:58:48.212214516 +0100
@@ -60,13 +60,14 @@
* no longer public. See the package level documentation for more
* information.
*
- * <table border="1" width='100%' cellpadding='3' cellspacing='0'>
- * <tr bgcolor='#ccccff'>
- * <th><font size='+1'>Name</font></th>
- * <th><font size='+1'>Notes</font></th></tr>
+ * <table border="1" style="width:100%">
+ * <caption></caption>
+ * <tr style="background-color:#ccccff">
+ * <th>Name</th>
+ * <th>Notes</th></tr>
*
- * <tr><td colspan=2><center><em>Features ... URL prefix is
- * <b>http://xml.org/sax/features/</b></em></center></td></tr>
+ * <tr><td colspan=2 style="align:center"><em>Features ... URL prefix is
+ * <b>http://xml.org/sax/features/</b></em></td></tr>
*
* <tr><td>(URL)/external-general-entities</td>
* <td>Value is fixed at <em>true</em></td></tr>
@@ -82,8 +83,8 @@
* <tr><td>(URL)/validation</td>
* <td>Value is fixed at <em>false</em></td></tr>
*
- * <tr><td colspan=2><center><em>Handler Properties ... URL prefix is
- * <b>http://xml.org/sax/properties/</b></em></center></td></tr>
+ * <tr><td colspan=2 style="align:center"><em>Handler Properties ... URL prefix is
+ * <b>http://xml.org/sax/properties/</b></em></td></tr>
*
* <tr><td>(URL)/declaration-handler</td>
* <td>A declaration handler may be provided. Declaration of general
@@ -186,7 +187,7 @@
/**
* <b>SAX1, SAX2</b>: Set the entity resolver for this parser.
- * @param handler The object to receive entity events.
+ * @param resolver The object to receive entity events.
*/
public void setEntityResolver (EntityResolver resolver)
{

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 19 13:00:20 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Added patch:
* aelfred-javadoc.patch
+ fix build with javadoc 17
-------------------------------------------------------------------
Tue May 15 05:00:18 UTC 2018 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package aelfred
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -25,6 +25,7 @@ Group: Development/Libraries/Java
URL: http://saxon.sourceforge.net/aelfred.html
Source0: http://downloads.sourceforge.net/project/saxon/aelfred/7.0/aelfred7_0.zip
Patch0: aelfred-icedtea-build.patch
Patch1: aelfred-javadoc.patch
BuildRequires: ant
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools
@ -55,6 +56,7 @@ Demonstrations and samples for aelfred.
%setup -q -c
unzip %{name}-source.zip
%patch0
%patch1 -p1
%build
export JAVA_HOME=%{java_home}