diff --git a/adaptx.spec b/adaptx.spec index 640bd60..b6e90e9 100644 --- a/adaptx.spec +++ b/adaptx.spec @@ -1,6 +1,6 @@ %define name adaptx %define version 0.9.6 -%define release 1jpp_1rh +%define release 1jpp_0fc %define section free Name: %{name} @@ -10,8 +10,6 @@ Epoch: 0 Summary: AdaptX License: Exolab Software License Group: Development/Libraries/Java -#Distribution: JPackage -#Vendor: JPackage Project Source0: %{name}-%{version}-cvs.tar.bz2 Url: http://castor.exolab.org/ BuildRequires: ant @@ -42,13 +40,14 @@ Documentation for %{name}. # remove CVS internal files for dir in `find . -type d -name CVS`; do rm -rf $dir; done # remove all binary libs -# find . -name "*.jar" -exec rm -f {} \; +find . -name "*.jar" -exec rm -f {} \; %build perl -p -i -e 's|classic|modern|' src/build.xml -export CLASSPATH=lib/adaptx_0.9.4.1.jar:$(build-classpath xml-commons-apis) +export CLASSPATH=$(build-classpath xml-commons-apis) 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) ant -buildfile src/build.xml doc %install @@ -87,6 +86,9 @@ fi %doc build/doc/* %changelog +* Wed Jun 1 2005 Gary Benson +- Remove all jarfiles before building. + * Fri Mar 5 2004 Frank Ch. Eigler 0:0.9.6-1jpp_1rh - RH vacuuming - build with internal adaptx for the moment