Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xmlunit for openSUSE:Factory checked in at 2025-11-06 18:13:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmlunit (Old) and /work/SRC/openSUSE:Factory/.xmlunit.new.1980 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlunit" Thu Nov 6 18:13:21 2025 rev:22 rq:1315773 version:2.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/xmlunit/xmlunit.changes 2025-09-05 21:44:27.739550371 +0200 +++ /work/SRC/openSUSE:Factory/.xmlunit.new.1980/xmlunit.changes 2025-11-06 18:15:01.872049162 +0100 @@ -1,0 +2,18 @@ +Wed Nov 5 16:56:35 UTC 2025 - Fridrich Strba <[email protected]> + +- Upgrade to 2.11.0 + * XMLUnit 2.x is a complete rewrite of XMLUnit and actually + doesn't share any code with XMLUnit for Java 1.x. + * Some goals for XMLUnit 2.x: + + create .NET and Java versions that are compatible in design + while trying to be idiomatic for each platform + + remove all static configuration (the old XMLUnit class + setter methods) + + focus on the parts that are useful for testing + - XPath + - (Schema) validation + - comparisons + + be independent of any test framework + * XMLUnit 1.x is no longer maintained + +------------------------------------------------------------------- Old: ---- xmlunit-1.6-src.zip xmlunit-1.6.pom New: ---- _service xmlunit-2.11.0.tar.xz xmlunit-build.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmlunit.spec ++++++ --- /var/tmp/diff_new_pack.biHIXE/_old 2025-11-06 18:15:02.456073800 +0100 +++ /var/tmp/diff_new_pack.biHIXE/_new 2025-11-06 18:15:02.456073800 +0100 @@ -1,8 +1,7 @@ # # spec file for package xmlunit # -# Copyright (c) 2024 SUSE LLC -# Copyright (c) 2000-2008, JPackage Project +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,87 +17,141 @@ Name: xmlunit -Version: 1.6 +Version: 2.11.0 Release: 0 -Summary: Provides classes to do asserts on XML -License: BSD-3-Clause +Summary: XMLUnit for Java +License: Apache-2.0 AND BSD-3-Clause Group: Development/Libraries/Java -URL: https://xmlunit.sourceforge.net/ -Source0: https://download.sourceforge.net/%{name}/%{name}-%{version}-src.zip -Source1: https://repo1.maven.org/maven2/%{name}/%{name}/%{version}/%{name}-%{version}.pom +URL: https://www.xmlunit.org/ +Source0: %{name}-%{version}.tar.xz +Source1: %{name}-build.tar.xz BuildRequires: ant -BuildRequires: ant-junit +BuildRequires: assertj-core BuildRequires: fdupes -# Needed for maven conversions +BuildRequires: glassfish-jaxb-api +BuildRequires: hamcrest BuildRequires: javapackages-local >= 6 +BuildRequires: jaxb-api BuildRequires: junit -BuildRequires: unzip -BuildRequires: xalan-j2 -BuildRequires: xerces-j2 -BuildRequires: xml-commons-apis >= 1.3 -Requires: junit -Requires: xalan-j2 -Requires: xerces-j2 -Requires: xml-commons-apis >= 1.3 +BuildRequires: jurand BuildArch: noarch %description -XMLUnit extends JUnit to simplify unit testing of XML. It compares a control -XML document to a test document or the result of a transformation, validates -documents against a DTD, and (from v0.5) compares the results of XPath -expressions. +XMLUnit provides you with the tools to verify the XML you emit is the one you +want to create. It provides helpers to validate against an XML Schema, assert +the values of XPath queries or compare XML documents against expected outcomes. + +%package assertj +Summary: XMLUnit with AssertJ fluent API +License: Apache-2.0 +Group: Development/Libraries/Java + +%description assertj +This package provides %{summary}. + +%package core +Summary: XMLUnit for Java core package +License: Apache-2.0 +Group: Development/Libraries/Java + +%description core +This package provides %{summary}. + +%package jakarta-jaxb-impl +Summary: XMLUnit for Java JAXB support using Jakarta EE packages +License: Apache-2.0 +Group: Development/Libraries/Java + +%description jakarta-jaxb-impl +This package provides %{summary}. + +%package legacy +Summary: XMLUnit 1.x Compatibility Layer +License: BSD-3-Clause +Group: Development/Libraries/Java +Provides: %{name} = %{version} +Obsoletes: %{name} < %{version} + +%description legacy +This package provides %{summary}. + +%package matchers +Summary: XMLUnit for Java Hamcrest Matchers +License: Apache-2.0 +Group: Development/Libraries/Java + +%description matchers +This package provides %{summary}. + +%package placeholders +Summary: XMLUnit for Java Placeholder DSL for Comparisons +License: Apache-2.0 +Group: Development/Libraries/Java + +%description placeholders +This package provides %{summary}. %package javadoc Summary: Javadoc for %{name} +License: Apache-2.0 Group: Documentation/HTML %description javadoc Javadoc for %{name}. Also contains userguide. %prep -%setup -q +%autosetup -p1 -a1 -perl -pi -e 's/\r$//g' README.txt LICENSE.txt +# Port to hamcrest 2.1 +%{java_remove_annotations} xmlunit-matchers -p org[.]hamcrest[.]Factory -# remove all binary libs and javadocs -find . -name "*.jar" -delete +%pom_disable_module xmlunit-assertj %build - -cat > build.properties << EOF -junit.lib=$(build-classpath junit) -xmlxsl.lib=$(build-classpath xalan-j2 xerces-j2 xml-commons-jaxp-1.3-apis) -test.report.dir=test -EOF - -cat > docbook.properties <<EOF -db5.xsl=%{_datadir}/xml/docbook/stylesheet/nwalsh/current/ -EOF - -export CLASSPATH= -export OPT_JAR_LIST="junit ant/ant-junit xalan-j2 ant/ant-trax xalan-j2-serializer" -ant -Djavac.source=1.8 -Djavac.target=1.8 -Dbuild.compiler=modern -Dhaltonfailure=yes jar javadocs +mkdir -p lib +build-jar-repository -s lib \ + assertj-core/assertj-core \ + glassfish-jaxb-api \ + hamcrest/hamcrest \ + jaxb-api/jakarta.xml.bind-api \ + junit +ant package javadoc %install -mkdir -p %{buildroot}%{_javadir} -install -m 0644 build/lib/%{name}-%{version}.jar %{buildroot}%{_javadir}/%{name}.jar +install -dm 0755 %{buildroot}%{_javadocdir}/%{name} +install -dm 0755 %{buildroot}%{_javadir}/%{name} +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +for i in assertj3 core jakarta-jaxb-impl legacy matchers placeholders; do + cp -r %{name}-${i}/target/site/apidocs %{buildroot}%{_javadocdir}/%{name}/${i} + install -pm 0644 %{name}-${i}/target/%{name}-${i}-%{version}.jar \ + %{buildroot}%{_javadir}/%{name}/%{name}-${i}.jar + %{mvn_install_pom} %{name}-${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}-${i}.pom + if [ "${i}" = legacy ]; then + %add_maven_depmap %{name}/%{name}-${i}.pom %{name}/%{name}-${i}.jar -a xmlunit:xmlunit -f ${i} + elif [ "${i}" = assertj3 ]; then + %add_maven_depmap %{name}/%{name}-${i}.pom %{name}/%{name}-${i}.jar -a org.xmlunit:xmlunit-assertj -f ${i} + else + %add_maven_depmap %{name}/%{name}-${i}.pom %{name}/%{name}-${i}.jar -f ${i} + fi +done +ln -s -f %{name}/%{name}-legacy.jar %{buildroot}%{_javadir}/%{name}.jar +%fdupes -s %{buildroot}%{_javadocdir} + +%files assertj -f .mfiles-assertj3 + +%files core -f .mfiles-core +%doc README.md CONTRIBUTING.md RELEASE_NOTES.md +%license LICENSE + +%files jakarta-jaxb-impl -f .mfiles-jakarta-jaxb-impl + +%files legacy -f .mfiles-legacy +%{_javadir}/%{name}.jar + +%files matchers -f .mfiles-matchers -# Javadoc -mkdir -p %{buildroot}%{_javadocdir}/%{name} -cp -pr build/doc/* %{buildroot}%{_javadocdir}/%{name} -%fdupes -s %{buildroot}%{_javadocdir}/%{name} - -# poms -install -d -m 755 %{buildroot}%{_mavenpomdir} -%{mvn_install_pom} %{SOURCE1} \ - %{buildroot}%{_mavenpomdir}/%{name}.pom -%add_maven_depmap %{name}.pom %{name}.jar - -%files -f .mfiles -%license LICENSE.txt -%doc README.txt +%files placeholders -f .mfiles-placeholders %files javadoc -%doc userguide %{_javadocdir}/%{name} ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.biHIXE/_old 2025-11-06 18:15:02.500075656 +0100 +++ /var/tmp/diff_new_pack.biHIXE/_new 2025-11-06 18:15:02.504075825 +0100 @@ -1,6 +1,6 @@ -mtime: 1757052990 -commit: aa95905a1ac60ac7340d99ed6ec49258ae0bbdbb15733958b7da5440846c5ca3 +mtime: 1762362055 +commit: ece2643f49f9f720273f2df7c186d580cec6973d04eba33cf4bbc95b3c5b694d url: https://src.opensuse.org/java-packages/xmlunit.git -revision: aa95905a1ac60ac7340d99ed6ec49258ae0bbdbb15733958b7da5440846c5ca3 +revision: ece2643f49f9f720273f2df7c186d580cec6973d04eba33cf4bbc95b3c5b694d projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ _service ++++++ <services> <service name="tar_scm" mode="disabled"> <param name="scm">git</param> <param name="url">https://github.com/xmlunit/xmlunit.git</param> <param name="revision">v2.11.0</param> <param name="match-tag">v*</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> </service> <service name="recompress" mode="disabled"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service name="set_version" mode="disabled"/> </services> ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2025-11-05 18:01:24.000000000 +0100 @@ -0,0 +1 @@ +.osc
