Hello community,

here is the log from the commit of package xmlunit for openSUSE:Factory checked 
in at 2013-10-08 12:11:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xmlunit (Old)
 and      /work/SRC/openSUSE:Factory/.xmlunit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xmlunit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xmlunit/xmlunit.changes  2013-09-12 
13:26:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xmlunit.new/xmlunit.changes     2013-10-08 
12:11:58.000000000 +0200
@@ -1,0 +2,32 @@
+Tue Oct  8 07:40:00 UTC 2013 - [email protected]
+
+- Build with junit4 
+
+-------------------------------------------------------------------
+Thu Oct  3 12:16:24 UTC 2013 - [email protected]
+
+- Update to 1.5
+  * If one node in the comparison has children while the other one
+    has not, XMLUnit 1.5 will signal a CHILD_NODELIST_LEN GTH
+    difference and CHILD_NODE_NOT_FOUND differences for each child
+    node of the node that has children in addition to a
+    HAS_CHILD_NODES difference.
+  1.4:
+  * xsi:type attributes now have their value interpreted as a QName and will
+    compare as identical if their namespace URI and local
+    names match even if they use different prefixes
+  1.3:
+  * Try to match control Element with first unmatched test one instead of
+    creating CHILD_NODE_NOT_FOUND
+  1.2:
+  * null XPath on missing node
+  * SAXParserFactory can be configured
+  * new Validator class to validate schema definitions
+  1.1:
+  * Support for XML Namespaces in XPath processing
+  * Support for XML Schema validation using any JAXP compliant parser
+- dropped xmlunit-java5-enum.patch, not needed
+- dropped xmlunit-no-javac-target.patch, not needed
+- put userguide to javadoc package
+
+-------------------------------------------------------------------

Old:
----
  xmlunit-1.0.pom
  xmlunit-java5-enum.patch
  xmlunit-no-javac-target.patch

New:
----
  xmlunit-1.5-src.zip
  xmlunit-1.5.pom

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xmlunit.spec ++++++
--- /var/tmp/diff_new_pack.FBtT97/_old  2013-10-08 12:11:59.000000000 +0200
+++ /var/tmp/diff_new_pack.FBtT97/_new  2013-10-08 12:11:59.000000000 +0200
@@ -19,22 +19,20 @@
 
 
 Name:           xmlunit
-Version:        1.0
+Version:        1.5
 Release:        0
 Summary:        Provides classes to do asserts on XML
 License:        BSD-3-Clause
 Group:          Development/Libraries/Java
 Url:            http://xmlunit.sourceforge.net/
-Source0:        http://download.sourceforge.net/xmlunit/xmlunit1.0.zip
-Source1:        
http://repo1.maven.org/maven2/xmlunit/xmlunit/1.0/xmlunit-1.0.pom
-Patch0:         xmlunit-java5-enum.patch
-Patch1:         xmlunit-no-javac-target.patch
+Source0:        
http://download.sourceforge.net/%{name}/%{name}-%{version}-src.zip
+Source1:        
http://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom
 BuildRequires:  ant
 BuildRequires:  ant-junit
 BuildRequires:  ant-trax
 BuildRequires:  java-devel
 BuildRequires:  javapackages-tools
-BuildRequires:  junit
+BuildRequires:  junit4
 BuildRequires:  unzip
 BuildRequires:  xalan-j2
 BuildRequires:  xerces-j2
@@ -59,53 +57,56 @@
 Group:          Documentation/HTML
 
 %description javadoc
-Javadoc for %{name}.
+Javadoc for %{name}. Also contains userguide.
 
 %prep
-%setup -q -n %{name}
-%patch0 -p1
-%patch1 -p1
+%setup -q
 
 %{__perl} -pi -e 's/\r$//g' README.txt LICENSE.txt
 
 # remove all binary libs and javadocs
-find . -name "*.jar" | xargs rm
-rm -r doc
+find . -name "*.jar" -delete
+
+%build
 
 cat > build.properties << EOF
-junit.lib=$(build-classpath junit)
+junit.lib=$(build-classpath junit4)
 xmlxsl.lib=$(build-classpath xalan-j2 xerces-j2 xml-commons-jaxp-1.3-apis)
 test.report.dir=test
 EOF
 
-%build
+cat > docbook.properties <<EOF
+db5.xsl=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/
+EOF
+
 export CLASSPATH=
 export OPT_JAR_LIST="junit ant/ant-junit jaxp_transform_impl ant/ant-trax 
xalan-j2-serializer"
-ant jar test docs
+ant -Dbuild.compiler=modern -Dhaltonfailure=yes jar javadocs
 
 %install
-mkdir -p $RPM_BUILD_ROOT%{_javadir}
-install -m 0644 lib/%{name}%{version}.jar 
$RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+mkdir -p %{buildroot}%{_javadir}
+install -m 0644 build/lib/%{name}-%{version}.jar 
%{buildroot}%{_javadir}/%{name}.jar
+
+# Javadoc
+mkdir -p %{buildroot}%{_javadocdir}/%{name}
+cp -pr build/doc/* %{buildroot}%{_javadocdir}/%{name}
 
 # poms
-install -d -m 755 $RPM_BUILD_ROOT%{_mavenpomdir}
-install -m 644 %{SOURCE1} \
-    $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-%{name}.pom
+install -d -m 755 %{buildroot}%{_mavenpomdir}
+install -m 644 build/lib/%{name}-%{version}.pom \
+    %{buildroot}%{_mavenpomdir}/JPP-%{name}.pom
 %add_maven_depmap
 
-# Javadoc
-mkdir -p $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-cp -pr doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}
-
 %files
 %defattr(0644,root,root,0755)
-%doc README.txt LICENSE.txt XMLUnit.pdf example.html
-%{_javadir}/*
-%{_mavenpomdir}/*
+%doc README.txt LICENSE.txt
+%{_javadir}/%{name}.jar
+%{_mavenpomdir}/JPP-%{name}.pom
 %{_mavendepmapfragdir}/*
 
 %files javadoc
 %defattr(0644,root,root,0755)
+%doc userguide
 %{_javadocdir}/%{name}
 
 %changelog


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to