SPECS: java-xalan.spec - updated to 2.7.1 - added bcond to build with java_...

paszczus paszczus at pld-linux.org
Sun Mar 29 19:53:35 CEST 2009


Author: paszczus                     Date: Sun Mar 29 17:53:35 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.7.1
- added bcond to build with java_sun
- rel 0.1 (apidocs missing)

---- Files affected:
SPECS:
   java-xalan.spec (1.54 -> 1.55) 

---- Diffs:

================================================================
Index: SPECS/java-xalan.spec
diff -u SPECS/java-xalan.spec:1.54 SPECS/java-xalan.spec:1.55
--- SPECS/java-xalan.spec:1.54	Fri Feb  6 01:10:43 2009
+++ SPECS/java-xalan.spec	Sun Mar 29 19:53:29 2009
@@ -2,23 +2,32 @@
 #
 # Conditional build:
 %bcond_without	doc	# do not build documentation
+%bcond_with     java_sun        # build with java-sun
+
+%if "%{pld_release}" == "ti"
+%define with_java_sun   1
+%endif
+#
+%include        /usr/lib/rpm/macros.java
 #
 %define	srcname	xalan
 %define	_ver	%(echo %{version} | tr . _)
+
 Summary:	XSLT processor for Java
 Summary(pl.UTF-8):	Procesor XSLT napisany w Javie
 Name:		java-xalan
-Version:	2.7.0
-Release:	4
+Version:	2.7.1
+Release:	0.1
 License:	Apache v2.0
 Group:		Applications/Publishing/XML/Java
 Source0:	http://www.apache.org/dist/xml/xalan-j/source/xalan-j_%{_ver}-src.tar.gz
-# Source0-md5:	7859a78a5564cae42c933adcbbecdd01
+# Source0-md5:	fc805051f0fe505c7a4b1b5c8db9b9e3
 Patch0:		xalan-j-javadoc-mem.patch
 URL:		http://xml.apache.org/xalan-j/
 BuildRequires:	ant >= 1.5
 BuildRequires:	jakarta-bcel
-BuildRequires:	java-gcj-compat-devel
+%{!?with_java_sun:BuildRequires:        java-gcj-compat-devel}
+%{?with_java_sun:BuildRequires: java-sun}
 BuildRequires:	java-xerces
 BuildRequires:	java-xml-commons-external
 BuildRequires:	java_cup
@@ -133,6 +142,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.55  2009/03/29 17:53:29  paszczus
+- updated to 2.7.1
+- added bcond to build with java_sun
+- rel 0.1 (apidocs missing)
+
 Revision 1.54  2009/02/06 00:10:43  pawelz
 - BR: java-xerces
 - export SHELL=/bin/sh (stupid javadoc ant task needs it)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-xalan.spec?r1=1.54&r2=1.55&f=u



More information about the pld-cvs-commit mailing list