BZ 162481

This commit is contained in:
vadimn 2005-11-22 21:30:49 +00:00
commit 42d44fdf7e

View file

@ -1,6 +1,6 @@
%define name adaptx
%define version 0.9.6
%define release 1jpp_1fc
%define release 1jpp_2fc
%define section free
Name: %{name}
@ -12,8 +12,10 @@ License: Exolab Software License
Group: Development/Libraries/Java
Source0: %{name}-%{version}-cvs-RHCLEAN.tar.bz2
Url: http://castor.exolab.org/
Requires: xerces-j2
BuildRequires: ant
BuildRequires: jpackage-utils >= 0:1.5
BuildRequires: xerces-j2
BuildRequires: xml-commons-apis
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
@ -44,10 +46,11 @@ find . -name "*.jar" -exec rm -f {} \;
%build
perl -p -i -e 's|classic|modern|' src/build.xml
export CLASSPATH=$(build-classpath xml-commons-apis)
adaptx_classpath=$(build-classpath xml-commons-apis xerces-j2)
export CLASSPATH=$adaptx_classpath
ant -buildfile src/build.xml jar
ant -buildfile src/build.xml javadoc
export CLASSPATH=dist/adaptx_0.9.6.jar:$(build-classpath xml-commons-apis)
export CLASSPATH=dist/adaptx_0.9.6.jar:$adaptx_classpath
ant -buildfile src/build.xml doc
%install
@ -86,6 +89,14 @@ fi
%doc build/doc/*
%changelog
* Tue Nov 22 2005 Vadim Nasardinov <vadimn@redhat.com> - 0:0.9.6-1jpp_2fc
- BZ 162481:
src/main/org/exolab/adaptx/xslt/util/Configuration.java
and
src/main/org/exolab/adaptx/xml/parser/XercesParser.java
both depend on org.apache.xerces.*
This change makes this dependency explicit.
* Thu Jun 16 2005 Gary Benson <gbenson@redhat.com> 0:0.9.6-1jpp_1fc
- Build into Fedora.