]> git.pld-linux.org Git - packages/ant.git/commitdiff
- added basic_functionality bcond
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 20 Dec 2004 19:12:11 +0000 (19:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ant.spec -> 1.36

ant.spec

index bd52ef3f1ce387b07ebb2199dce7a0433a193b3b..6025fb6cd7d94f1a92a3a1a49a12fd9a55393ce5 100644 (file)
--- a/ant.spec
+++ b/ant.spec
@@ -1,4 +1,9 @@
 # TODO: consider using external xerces-j
+#
+# Conditional build:
+%bcond_with     basic_functionality       # generates package with only
+                                         # basic functionality, i.e. no deps
+#
 Summary:       ant build tool for Java
 Summary(fr):   Outil de compilation pour java
 Summary(it):   Tool per la compilazione di programmi java
@@ -14,6 +19,7 @@ Source0:      http://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2
 Patch0:                %{name}-ANT_HOME.patch
 URL:           http://ant.apache.org/
 BuildRequires: jdk
+%if %{without basic_functionality}
 BuildRequires: jakarta-regexp >= 1.3
 BuildRequires: jakarta-oro >= 2.0.7
 BuildRequires: junit
@@ -37,6 +43,7 @@ BuildRequires:        jsse
 BuildRequires: jaf
 BuildRequires: jsch
 # BuildRequires:       JAI
+%endif
 Requires:      jdk
 Provides:      jaxp_parser_impl
 Provides:      xerces-j = 2.6.2
This page took 0.101447 seconds and 4 git commands to generate.