From 59d1d0f8140a1ba322c48e1c644760b988ea91b1b351ed85d4d71252b8c77e16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 9 Jun 2017 10:46:38 +0000 Subject: [PATCH] - Add patch no-javadoc.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/relaxngDatatype?expand=0&rev=9 --- no-javadoc.patch | 22 ++++++++++++++++++++++ relaxngDatatype.changes | 1 + relaxngDatatype.spec | 6 +++++- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 no-javadoc.patch diff --git a/no-javadoc.patch b/no-javadoc.patch new file mode 100644 index 0000000..9f530fe --- /dev/null +++ b/no-javadoc.patch @@ -0,0 +1,22 @@ +Index: relaxngDatatype-1.0/build.xml +=================================================================== +--- relaxngDatatype-1.0.orig/build.xml ++++ relaxngDatatype-1.0/build.xml +@@ -32,7 +32,7 @@ Implementation-Vendor: relaxng.sourcefor + + + +- ++ + + + diff --git a/relaxngDatatype.changes b/relaxngDatatype.changes index 7c61654..72cf618 100644 --- a/relaxngDatatype.changes +++ b/relaxngDatatype.changes @@ -2,6 +2,7 @@ Fri Jun 9 10:36:56 UTC 2017 - tchvatal@suse.com - Obsolete javadoc to bootstrap using gcj +- Add patch no-javadoc.patch ------------------------------------------------------------------- Fri Jul 11 14:48:26 UTC 2014 - tchvatal@suse.com diff --git a/relaxngDatatype.spec b/relaxngDatatype.spec index d26de23..c403bd3 100644 --- a/relaxngDatatype.spec +++ b/relaxngDatatype.spec @@ -24,6 +24,7 @@ License: BSD-3-Clause Group: Development/Languages/Java Url: https://sourceforge.net/projects/relaxng Source0: relaxngDatatype-1.0.tar.bz2 +Patch0: no-javadoc.patch BuildRequires: ant BuildRequires: java-devel BuildRequires: javapackages-tools @@ -40,9 +41,12 @@ implementations. %setup -q # wrong end of line necoding sed -i -e 's/.$//' copying.txt +%patch0 -p1 %build -ant -Dbuild.sysclasspath=only -Dant.build.javac.source=1.4 -Dant.build.javac.target=1.5 +ant \ + -Dbuild.sysclasspath=only \ + -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 %install install -Dpm 644 %{name}.jar \