Fridrich Strba 2017-12-22 13:38:14 +00:00 committed by Git OBS Bridge
parent 84ecb66946
commit 1e1f715ea4
3 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,10 @@
--- xmlgraphics-commons-2.1/build.xml 2016-01-07 14:46:18.000000000 +0100
+++ xmlgraphics-commons-2.1/build.xml 2017-12-22 14:35:12.045945039 +0100
@@ -402,7 +402,6 @@
source="${javac.source}">
<header><![CDATA[${name} ${version}]]></header>
<footer><![CDATA[${name} ${version}]]></footer>
- <link offline="false" href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
<classpath>
<path refid="libs-build-classpath"/>
<pathelement path="${java.class.path}"/>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Dec 22 13:37:24 UTC 2017 - fstrba@suse.com
- Added patch:
* xmlgraphics-commons-jdk10.patch
+ Fix building with jdk10
-------------------------------------------------------------------
Fri Sep 29 08:43:00 UTC 2017 - fstrba@suse.com

View File

@ -26,6 +26,7 @@ Group: Development/Libraries/Java
Url: http://xmlgraphics.apache.org/
Source0: http://www.apache.org/dist/xmlgraphics/commons/source/xmlgraphics-commons-%{version}-src.tar.gz
Patch0: xmlgraphics-commons-build_xml.patch
Patch1: xmlgraphics-commons-jdk10.patch
BuildRequires: ant >= 1.6.5
BuildRequires: ant-junit
BuildRequires: apache-commons-io >= 1.1
@ -60,6 +61,7 @@ Javadoc for package %{name}.
%prep
%setup -q %{name}-%{version}
%patch0
%patch1 -p1
find . -name "*.jar" | xargs rm
%build