forked from pool/relaxngDatatype
- Add patch no-javadoc.patch
OBS-URL: https://build.opensuse.org/package/show/Java:packages/relaxngDatatype?expand=0&rev=9
This commit is contained in:
parent
108a40d804
commit
59d1d0f814
22
no-javadoc.patch
Normal file
22
no-javadoc.patch
Normal file
@ -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
|
||||
</jar>
|
||||
|
||||
<!-- generate javadoc documentation -->
|
||||
- <mkdir dir="doc"/>
|
||||
+ <!-- <mkdir dir="doc"/>
|
||||
<javadoc locale="en_US"
|
||||
packagenames="org.relaxng.datatype.*"
|
||||
sourcepath="src"
|
||||
@@ -41,7 +41,7 @@ Implementation-Vendor: relaxng.sourcefor
|
||||
public="yes"
|
||||
author="yes"
|
||||
>
|
||||
- </javadoc>
|
||||
+ </javadoc>-->
|
||||
|
||||
<!-- creates distribution package -->
|
||||
<zip zipfile="relaxngDatatype-${version}.zip">
|
@ -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
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user