- Build with IcedTea to escape sinjdoc issues

This commit is contained in:
Deepak Bhole 2008-09-05 20:09:32 +00:00
parent 7c6e22c943
commit 76908b6027
2 changed files with 33 additions and 1 deletions

View File

@ -0,0 +1,22 @@
diff -up ./resolver.xml.sav ./resolver.xml
--- ./resolver.xml.sav 2008-09-05 16:06:29.000000000 -0400
+++ ./resolver.xml 2008-09-05 16:08:16.000000000 -0400
@@ -83,7 +83,7 @@ Also, you may need to adjust src/documen
<echo message="Compiling..." />
- <javac srcdir="${src.dir}" destdir="${build.classes.dir}">
+ <javac srcdir="${src.dir}" destdir="${build.classes.dir}" source="1.4">
<!-- <classpath> not needed since Ant already supplies these Sep-03 -sc -->
<include name="${resolver.subdir}/*.java"/>
<include name="${resolver.subdir}/helpers/*.java"/>
@@ -143,7 +143,8 @@ Also, you may need to adjust src/documen
use="true"
windowtitle="${name.resolver} API"
doctitle="${name.resolver}"
- bottom="${copyright.message}">
+ bottom="${copyright.message}"
+ source="1.4">
<package name="org.apache.xml.resolver"/>
<package name="org.apache.xml.resolver.helpers"/>
<package name="org.apache.xml.resolver.readers"/>

View File

@ -7,7 +7,7 @@
Name: xml-commons-resolver
Version: 1.1
Release: 2.13%{?dist}
Release: 2.14%{?dist}
Epoch: 0
Summary: Resolver subproject of xml-commons.
License: ASL 1.1
@ -16,8 +16,12 @@ Source0: xml-commons-resolver-1.1-RHCLEAN.tar.bz2
Source1: xml-commons-resolver-resolver.sh
Source2: xml-commons-resolver-xread.sh
Source3: xml-commons-resolver-xparse.sh
Patch0: %{name}-src-version.patch
Requires: jaxp_parser_impl
Requires: xml-commons-apis
BuildRequires: java-devel >= 1.6.0
BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.5
#BuildRequires: %{_bindir}/xsltproc
@ -49,6 +53,9 @@ Javadoc for %{name}.
%prep
%setup -q
%patch0
# remove all binary libs and prebuilt javadocs
find . -name "*.jar" -exec rm -f {} \;
rm -rf docs
@ -135,6 +142,9 @@ fi
%{_javadocdir}/%{name}-%{version}
%changelog
* Fri Sep 05 2008 Deepak Bhole <dbhole@redhat.com> 1.1-2.14
- Build with IcedTea to escape sinjdoc issues
* Thu Jul 10 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0:1.1-2.13
- drop repotag
- fix license tag