]> git.pld-linux.org Git - packages/ant.git/blobdiff - ant.spec
link optional jars instead of creating CLASSPATH
[packages/ant.git] / ant.spec
index 5970754df03fb47396d36c582c35a95ccd287cbf..4d50e246d411fa88bdf6d20f8d39bf3ddfa6bf03 100644 (file)
--- a/ant.spec
+++ b/ant.spec
@@ -52,12 +52,12 @@ Summary(fr.UTF-8):  Outil de compilation pour java
 Summary(it.UTF-8):     Tool per la compilazione di programmi java
 Summary(pl.UTF-8):     Ant - narzÄ™dzie do budowania w Javie
 Name:          ant
-Version:       1.9.3
+Version:       1.9.4
 Release:       %{bootstrap_release %rel}
 License:       Apache
 Group:         Development/Languages/Java
 Source0:       http://www.apache.org/dist/ant/source/apache-%{name}-%{version}-src.tar.bz2
-# Source0-md5: 995f21618acdf35beacc465c84d79534
+# Source0-md5: 7a7253ec047195d755c5318a4de8a3a4
 Source1:       %{name}.conf
 Patch0:                %{name}-antRun.patch
 
@@ -89,6 +89,8 @@ BuildRequires:        rpm >= 4.4.9-56
 BuildRequires: rpm-javaprov
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.300
+Requires:      java(jaxp_parser_impl)
+Requires:      java(xml-commons-apis)
 Requires:      jpackage-utils
 Obsoletes:     jakarta-ant
 Obsoletes:     ant-nodeps
@@ -530,8 +532,7 @@ required_jars="jaxp_parser_impl"
 %{?with_jsch:required_jars="$required_jars jsch"}
 %{?with_netrexx:required_jars="$required_jars NetRexxC"}
 
-CLASSPATH=$(build-classpath $required_jars)
-export CLASSPATH
+build-jar-repository lib/optional $required_jars
 
 export SHELL=/bin/sh
 
This page took 0.056049 seconds and 4 git commands to generate.