Hello community,
here is the log from the commit of package adaptx
checked in at Fri Apr 25 14:50:03 CEST 2008.
--------
--- adaptx/adaptx.changes 2006-09-15 14:47:29.000000000 +0200
+++ /mounts/work_src_done/NOARCH/adaptx/adaptx.changes 2008-04-25 13:12:51.373128000 +0200
@@ -1,0 +2,60 @@
+Thu Feb 28 12:43:31 CET 2008 - mvyskocil@suse.cz
+
+- Adopted from jpackage(1.7)
+- New version 0.9.13
+ - Fixed bug where normalize-space() function required an argument.
+ With no arguments, it now correctly defaults to the context node.
+ (kvisco - 20050114)
+ - Backed out previous fix in 0.9.12. It was an incorrect fix,
+ there was actually no bug with the node-set comparisons
+ after triple-checking the XPath spec. When comparing two nodesets
+ sometimes they can both be equal and not-equal at the same time,
+ and sometimes they can both be never and equal, and never not-equal.
+ It's very confusing, but the previous implementation had it correct.
+ - Fixed bug in EqualyExprImpl with respect to the NOT_EQUALS
+ operator (!=) when used with NodeSet comparisons.
+ - Fixed issue with xsl:sort that was restricting the result of
+ the expression specified by the select attribute to be a
+ node-set, instead of any valid XPath result.
+ - Fixed some NullPointerExceptions that were occurring when
+ attempting to create a StringResult with a null value.
+ - Fixed issue of possible incorrect context node
+ when processing certain expressions at the top-level.
+ - Fixed parse error when using variables in union expressions.
+ - Fixed issue with using the node-test keywords in
+ attribute expressions (eg: @text, @node, @pi)
+ - Added some improvements to the expressions API to
+ allow greater ability to "drill-down" and get to
+ the core components of the XPath expressions.
+ - Fixes issue with error occuring when "xml prefix" is being
+ declared by Xerces. Normally, the "xml" prefix shouldn't
+ be declared, but Xerces declares this, probably as a
+ convenience. The error is changed to check only for
+ a redefinition of the "xml" prefix to a non-valid
+ URI.
+ - Made some improvements to the XPath expressions package to
+ allow improved accessibility to the components of a given
+ expression. Improvements include the ability to obtain the
+ Operator type of a BinaryExpr and a new GroupedExpression
+ interface for expressions wrapped in parenthesis.
+ (kvisco - 2003-10-06)
+ - Added Identity transformation support in the JAXP implementation
+ (kvisco - 2003-10-06)
+ - Fixed *static* variable bug in the Lexer, should fix some problems
+ with certain operators being treated as a function name. This was
+ a regression from 0.9.5 (I think).
+ (kvisco - 2003-10-02)
+ - Added support for URIResolver in the JAXP implementation
+ (kvisco - 2003-10-01)
+ - Fixed document-base bug with document() function
+ (kvisco - 2003-09-28)
+ - Updated to support JAXP. The user must first configure
+ their environment by setting within the system properties
+ the JAXP property: javax.xml.transform.TransformerFactory
+ to the value of:
+ org.exolab.adaptx.jaxp.transform.TransformerFactoryImpl
+ (kvisco - 2003-09-09)
+
+- Compiled by icedtea
+
+-------------------------------------------------------------------
Old:
----
adaptx-0.9.6-cvs.tar.bz2
adaptx-0.9.6-xsl.patch
New:
----
adaptx-0.9.13-icedtea-build.patch
adaptx-0.9.13-src.tar.bz2
adaptx-0.9.13-xsl.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ adaptx.spec ++++++
--- /var/tmp/diff_new_pack.R27139/_old 2008-04-25 14:49:51.000000000 +0200
+++ /var/tmp/diff_new_pack.R27139/_new 2008-04-25 14:49:51.000000000 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package adaptx (Version 0.9.6)
+# spec file for package adaptx (Version 0.9.13)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -10,25 +10,42 @@
# norootforbuild
-Name: adaptx
-BuildRequires: ant java2-devel-packages xml-commons-apis
-%{!?_with_external: %{!?_without_external: %define _without_external 1}}
-%define name adaptx
-%define version 0.9.6
-%define release 2jpp
+%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
%define section free
-Version: 0.9.6
-Release: 24
+
+Name: adaptx
+Version: 0.9.13
+Release: 1
Summary: XSLT Processor Written in Java
-License: BSD, Other License(s), see package
+License: BSD 3-Clause
Group: Development/Libraries/Java
-Source0: %{name}-%{version}-cvs.tar.bz2
+Source0: %{name}-%{version}-src.tar.bz2
+# svn export http://svn.codehaus.org/castor/adaptx
Patch0: %{name}-%{version}-xsl.patch
-URL: http://castor.exolab.org/
-%if %{?_with_external:1}%{!?_with_external:0}
+Patch1: %{name}-%{version}-icedtea-build.patch
+Url: http://castor.exolab.org/
+BuildRequires: ant >= 1.6
+BuildRequires: jpackage-utils >= 1.6
+BuildRequires: log4j
+BuildRequires: xml-commons-apis
+BuildRequires: xerces-j2
+%if %defined suse_version
+BuildRequires: java-devel
%endif
+Requires: ant >= 1.6
+Requires: jpackage-utils >= 1.6
+Requires: log4j
+Requires: xml-commons-apis
+Requires: xerces-j2
+%if ! %{gcj_support}
BuildArch: noarch
+%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%if %{gcj_support}
+BuildRequires: java-gcj-compat-devel
+Requires(post): java-gcj-compat
+Requires(postun): java-gcj-compat
+%endif
%description
AdaptX is an extensible stylesheet language (XSL) processor.
@@ -36,9 +53,12 @@
%package javadoc
+License: BSD 3-Clause
PreReq: coreutils
Group: Development/Libraries/Java
Summary: Javadoc for adaptx
+Requires(post): /bin/rm,/bin/ln
+Requires(postun): /bin/rm
%description javadoc
This package contains the javadoc documentation for AdaptX.
@@ -46,6 +66,7 @@
%package doc
+License: BSD 3-Clause
Summary: Documentation for adaptx
Group: Development/Libraries/Java
@@ -55,27 +76,23 @@
%prep
-%setup -q -n %{name}
+%setup -q -n %{name}-%{version}-src
# 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 {} \;
+for j in $(find . -name "*.jar"); do
+ mv $j $j.no
+done
%patch0
+%patch1
%build
perl -p -i -e 's|classic|modern|' src/build.xml
-if ! grep -q "javac.*source=" src/build.xml ; then
- perl -p -i -e 's|