- build xerces without using native code
This commit is contained in:
parent
a59f935e09
commit
fa0e4ef20f
@ -1,7 +1,7 @@
|
||||
%define name xerces-j2
|
||||
%define version 2.6.2
|
||||
%define cvs_version 2_6_2
|
||||
%define release 6jpp_2fc
|
||||
%define release 6jpp_3fc
|
||||
%define section free
|
||||
|
||||
Name: %{name}
|
||||
@ -123,6 +123,7 @@ cp -a %{SOURCE3} tools/org/apache/xerces/util
|
||||
|
||||
%build
|
||||
pushd tools
|
||||
export GCJ_PROPERTIES="gnu.gcj.precompiled.db.path=/tmp"
|
||||
javac -classpath $(build-classpath ant) org/apache/xerces/util/XJavac.java
|
||||
mkdir bin && jar cf bin/xjavac.jar org/apache/xerces/util/XJavac.class
|
||||
popd
|
||||
@ -134,7 +135,7 @@ ant \
|
||||
-Djar.apis=xml-commons-apis.jar \
|
||||
-Djar.resolver=xml-commons-resolver.jar \
|
||||
clean jars javadocs
|
||||
|
||||
unset GCJ_PROPERTIES
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -280,6 +281,9 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 2 2006 Archit Shah <ashah@redhat.com> 0:2.6.2-6jpp_3fc
|
||||
- build xerces without using native code
|
||||
|
||||
* Mon Jan 9 2006 Archit Shah <ashah@redhat.com> 0:2.6.2-6jpp_2fc
|
||||
- rebuilt for new gcj
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user