Add classpath workaround to xjavac task (#152255)
This commit is contained in:
parent
5ee4715135
commit
0df0c8bdde
@ -1,5 +1,6 @@
|
|||||||
Xerces-J-src.2.6.2.tar.gz
|
Xerces-J-src.2.6.2.tar.gz
|
||||||
Xerces-J-tools.2.6.2.tar.gz
|
Xerces-J-tools.2.6.2.tar.gz
|
||||||
|
XJavac.java
|
||||||
xerces-2_6_2
|
xerces-2_6_2
|
||||||
noarch
|
noarch
|
||||||
*.src.rpm
|
*.src.rpm
|
||||||
|
1
sources
1
sources
@ -1,2 +1,3 @@
|
|||||||
cfd536b8d72f8ebe3465ae35f5e3775d Xerces-J-src.2.6.2.tar.gz
|
cfd536b8d72f8ebe3465ae35f5e3775d Xerces-J-src.2.6.2.tar.gz
|
||||||
55ba4b71ae95acf7d50c4bc0d796ee76 Xerces-J-tools.2.6.2.tar.gz
|
55ba4b71ae95acf7d50c4bc0d796ee76 Xerces-J-tools.2.6.2.tar.gz
|
||||||
|
166f59c462cda808ca20f16e1690699f XJavac.java
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
%define name xerces-j2
|
%define name xerces-j2
|
||||||
%define version 2.6.2
|
%define version 2.6.2
|
||||||
%define cvs_version 2_6_2
|
%define cvs_version 2_6_2
|
||||||
%define release 4jpp_1fc
|
%define release 4jpp_2fc
|
||||||
%define section free
|
%define section free
|
||||||
|
|
||||||
Name: %{name}
|
Name: %{name}
|
||||||
@ -18,6 +18,7 @@ Source0: http://www.apache.org/dist/xml/xerces-j/Xerces-J-src.%{version}.tar.gz
|
|||||||
Source1: %{name}-version.sh
|
Source1: %{name}-version.sh
|
||||||
Source2: %{name}-constants.sh
|
Source2: %{name}-constants.sh
|
||||||
Source3: http://archive.apache.org/dist/xml/xerces-j/Xerces-J-tools.%{version}.tar.gz
|
Source3: http://archive.apache.org/dist/xml/xerces-j/Xerces-J-tools.%{version}.tar.gz
|
||||||
|
Source4: XJavac.java
|
||||||
Patch0: %{name}-build.patch
|
Patch0: %{name}-build.patch
|
||||||
Provides: jaxp_parser_impl
|
Provides: jaxp_parser_impl
|
||||||
Requires: xml-commons-apis
|
Requires: xml-commons-apis
|
||||||
@ -112,11 +113,20 @@ Additional utility scripts for %{name}.
|
|||||||
%setup -q -n xerces-%{cvs_version}
|
%setup -q -n xerces-%{cvs_version}
|
||||||
%setup -q -T -a 3 -D -n xerces-%{cvs_version}
|
%setup -q -T -a 3 -D -n xerces-%{cvs_version}
|
||||||
%setup -T -D -n xerces-%{cvs_version}
|
%setup -T -D -n xerces-%{cvs_version}
|
||||||
|
rm -f tools/bin/xjavac.jar
|
||||||
|
|
||||||
%patch0 -p1 -b .build
|
%patch0 -p1 -b .build
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
mkdir -p org/apache/xerces/util
|
||||||
|
cp $RPM_SOURCE_DIR/XJavac.java org/apache/xerces/util
|
||||||
|
javac \
|
||||||
|
-classpath $(%{_bindir}/build-classpath ant) \
|
||||||
|
org/apache/xerces/util/XJavac.java
|
||||||
|
jar cf tools/bin/xjavac.jar org/apache/xerces/util/*.class
|
||||||
|
rm -rf org
|
||||||
|
|
||||||
unset CLASSPATH
|
unset CLASSPATH
|
||||||
ant \
|
ant \
|
||||||
-Dbuild.compiler=modern \
|
-Dbuild.compiler=modern \
|
||||||
@ -256,6 +266,9 @@ update-alternatives --install %{_javadir}/jaxp_parser_impl.jar \
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 21 2005 Gary Benson <gbenson at redhat.com> 0:2.6.2-4jpp_2fc
|
||||||
|
- Add classpath workaround to xjavac task (#152255).
|
||||||
|
|
||||||
* Wed Jan 12 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_1fc
|
* Wed Jan 12 2005 Gary Benson <gbenson@redhat.com> 0:2.6.2-4jpp_1fc
|
||||||
- Reenable building of classes that require javax.swing (#130006).
|
- Reenable building of classes that require javax.swing (#130006).
|
||||||
- Sync with RHAPS.
|
- Sync with RHAPS.
|
||||||
|
Loading…
Reference in New Issue
Block a user