Author: jajcus                       Date: Fri May 26 12:01:02 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Release: 2
- apache_resolver bcond disabled by default
- s/jakarta-log4j/logging-log4j/
- several other fixes for non-bootstrap build

---- Files affected:
SPECS:
   ant.spec (1.59 -> 1.60) 

---- Diffs:

================================================================
Index: SPECS/ant.spec
diff -u SPECS/ant.spec:1.59 SPECS/ant.spec:1.60
--- SPECS/ant.spec:1.59 Fri May 26 13:41:24 2006
+++ SPECS/ant.spec      Fri May 26 14:00:57 2006
@@ -7,10 +7,10 @@
 %bcond_without antlr           # disable building antlr optional task(s)
 %bcond_without apache_bcel     # disable building apache-bcel optional task(s)
 %bcond_without apache_bsf      # disable building apache-bsf optional task(s)
-%bcond_without apache_log4j    # disable building apache-log4j optional task(s)
+%bcond_without apache_log4j    # disable building log4j optional task(s)
 %bcond_without apache_oro      # disable building apache-oro optional task(s)
 %bcond_without apache_regexp   # disable building apache-regexp optional 
task(s)
-%bcond_without apache_resolver # disable building apache-resolver optional 
task(s)
+%bcond_with    apache_resolver # enable building apache-resolver optional 
task(s)
 %bcond_without commons-logging # disable building commons-logging optional 
task(s)
 %bcond_without commons-net     # disable building commons-net optional task(s)
 %bcond_with    jai             # enable building jai optional task(s)
@@ -39,7 +39,7 @@
 Summary(pl):   Ant - narzędzie do budowania w Javie
 Name:          ant
 Version:       1.6.5
-Release:       1.2
+Release:       2
 License:       Apache
 Group:         Development/Languages/Java
 Source0:       
http://www.apache.org/dist/ant/source/apache-%{name}-%{version}-src.tar.bz2
@@ -48,13 +48,13 @@
 Patch0:                %{name}-ant_d.patch
 URL:           http://ant.apache.org/
 %{?with_antlr:BuildRequires:   antlr}
-%{?with_bsf:BuildRequires:     beanshell}
-%{?with_bsf:BuildRequires:     bsf}
+%{?with_apache_bsf:BuildRequires:      beanshell}
+%{?with_apache_bsf:BuildRequires:      bsf}
 %{?with_javamail:BuildRequires:        jaf}
 %{?with_bcel:BuildRequires:    jakarta-bcel}
 %{?with_commons_logging:BuildRequires: jakarta-commons-logging}
 %{?with_commons_net:BuildRequires:     jakarta-commons-net}
-%{?with_apache_log4j:BuildRequires:    jakarta-log4j}
+%{?with_apache_log4j:BuildRequires:    logging-log4j}
 %{?with_apache_oro:BuildRequires:      jakarta-oro}
 %{?with_apache_regexp:BuildRequires:   jakarta-regexp}
 %{?with_javamail:BuildRequires:        javamail}
@@ -63,7 +63,7 @@
 BuildRequires: jpackage-utils
 %{?with_jsch:BuildRequires:    jsch}
 %{?with_junit:BuildRequires:   junit}
-%{?with_bsf:BuildRequires:     jython}
+%{?with_apache_bsf:BuildRequires:      jython}
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.300
 Requires:      jdk
@@ -505,16 +505,16 @@
 required_jars="jaxp_parser_impl"
 %{?with_junit:required_jars="$required_jars junit"}
 %{?with_antlr:required_jars="$required_jars antlr"}
-%{?with_bsf:required_jars="$required_jars bsf jython beanshell"}
+%{?with_apache_bsf:required_jars="$required_jars bsf jython beanshell"}
 %{?with_apache_resolver:required_jars="$required_jars xml-commons-resolver"}
 %{?with_commons_logging:required_jars="$required_jars jakarta-commons-logging"}
 %{?with_commons_net:required_jars="$required_jars jakarta-commons-net"}
 %{?with_jai:required_jars="$required_jars jait"}
 %{?with_apache_bcel:required_jars="$required_jars bcel"}
-%{?with_apache_log4j:required_jars="$required_jars log4j"}
+%{?with_log4j:required_jars="$required_jars log4j"}
 %{?with_apache_oro:required_jars="$required_jars oro"}
 %{?with_apache_regexp:required_jars="$required_jars regexp"}
-%{?with_javamail:required_jars="$required_jars javamail/mailapi jaf"}
+%{?with_javamail:required_jars="$required_jars mailapi jaf"}
 %{?with_jdepend:required_jars="$required_jars jdepend"}
 %{?with_jsch:required_jars="$required_jars jsch"}
 
@@ -559,7 +559,7 @@
 echo "antlr ant/ant-antlr" > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/antlr
 %endif
 
-%if %{with bsf}
+%if %{with apache_bsf}
 install build/lib/%{name}-apache-bsf.jar 
$RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-bsf-%{version}.jar
 echo "bsf ant/ant-apache-bsf" > 
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-bsf
 %endif
@@ -593,7 +593,7 @@
 %if %{with apache_log4j}
 install build/lib/%{name}-apache-log4j.jar 
$RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-apache-log4j-%{version}.jar
 ln -sf %{name}-apache-log4j.jar 
$RPM_BUILD_ROOT%{_javadir}/%{name}/%{name}-jakarta-log4j.jar
-echo "log4j ant/ant-apache-log4j" > 
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
+echo "log4j ant/ant-log4j" > 
$RPM_BUILD_ROOT%{_sysconfdir}/%{name}.d/apache-log4j
 %endif
 
 %if %{with apache_oro}
@@ -838,6 +838,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.60  2006/05/26 12:00:57  jajcus
+- Release: 2
+- apache_resolver bcond disabled by default
+- s/jakarta-log4j/logging-log4j/
+- several other fixes for non-bootstrap build
+
 Revision 1.59  2006/05/26 11:41:24  jajcus
 - typo fixed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ant.spec?r1=1.59&r2=1.60&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to