Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package hamcrest for openSUSE:Factory checked in at 2024-08-29 15:42:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hamcrest (Old) and /work/SRC/openSUSE:Factory/.hamcrest.new.2698 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hamcrest" Thu Aug 29 15:42:46 2024 rev:31 rq:1196304 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/hamcrest/hamcrest.changes 2024-02-23 16:40:35.369027821 +0100 +++ /work/SRC/openSUSE:Factory/.hamcrest.new.2698/hamcrest.changes 2024-08-29 15:43:08.196656534 +0200 @@ -1,0 +2,17 @@ +Tue Aug 27 14:36:48 UTC 2024 - Fridrich Strba <fst...@suse.com> + +- Upgrade to upstream version 3.0 + * Breaking Changes + + From version 3.0, the jar distributed to Maven Central is now + compiled to Java 1.8 bytecode, and is not compatible with + previous versions of Java. + Developers who use Java 1.7 earlier can still depend upon + hamcrest-2.2.jar. + * Improvements + + FileMatchersTest simplification + + License cleanup +- Removed patches: + * 0001-Fix-build-with-OpenJDK-11.patch + + not needed any more + +------------------------------------------------------------------- Old: ---- 0001-Fix-build-with-OpenJDK-11.patch LICENSE.txt hamcrest-2.2.pom hamcrest-2.2.tar.xz New: ---- LICENSE hamcrest-3.0.pom hamcrest-3.0.tar.xz BETA DEBUG BEGIN: Old:- Removed patches: * 0001-Fix-build-with-OpenJDK-11.patch + not needed any more BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hamcrest.spec ++++++ --- /var/tmp/diff_new_pack.kzAjqt/_old 2024-08-29 15:43:08.884685140 +0200 +++ /var/tmp/diff_new_pack.kzAjqt/_new 2024-08-29 15:43:08.888685307 +0200 @@ -18,7 +18,7 @@ %bcond_with tests Name: hamcrest -Version: 2.2 +Version: 3.0 Release: 0 Summary: Library of matchers for building test expressions License: BSD-3-Clause @@ -27,9 +27,8 @@ Source0: %{name}-%{version}.tar.xz Source1: %{name}-build.xml Source2: https://repo1.maven.org/maven2/org/hamcrest/%{name}/%{version}/%{name}-%{version}.pom -Source3: https://raw.githubusercontent.com/hamcrest/JavaHamcrest/v2.2/LICENSE.txt -Source4: https://raw.githubusercontent.com/hamcrest/JavaHamcrest/v2.2/README.md -Patch0: 0001-Fix-build-with-OpenJDK-11.patch +Source3: https://raw.githubusercontent.com/hamcrest/JavaHamcrest/v%{version}/LICENSE +Source4: https://raw.githubusercontent.com/hamcrest/JavaHamcrest/v%{version}/README.md BuildRequires: ant BuildRequires: fdupes BuildRequires: java-devel >= 1.8 @@ -60,8 +59,6 @@ cp %{SOURCE1} build.xml cp %{SOURCE3} %{SOURCE4} . -%patch -P 0 -p2 - %build %{ant} \ %if %{without tests} @@ -89,10 +86,10 @@ %files -f .mfiles %{_javadir}/%{name} -%license LICENSE.txt +%license LICENSE %doc README.md %files javadoc -%license LICENSE.txt +%license LICENSE %{_javadocdir}/%{name} ++++++ LICENSE ++++++ BSD 3-Clause License Copyright (c) 2000-2024, www.hamcrest.org Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ++++++ README.md ++++++ --- /var/tmp/diff_new_pack.kzAjqt/_old 2024-08-29 15:43:08.936687302 +0200 +++ /var/tmp/diff_new_pack.kzAjqt/_new 2024-08-29 15:43:08.944687635 +0200 @@ -1,64 +1,69 @@  -[](https://travis-ci.org/hamcrest/JavaHamcrest) +[](https://github.com/hamcrest/JavaHamcrest/actions/workflows/build.yml) +[](https://search.maven.org/artifact/org.hamcrest/hamcrest) +[](LICENSE) -Java Hamcrest -============= -Licensed under [BSD License][]. -What is Hamcrest? ------------------ +# Java Hamcrest + +## What is Hamcrest? + Hamcrest is a library of matchers, which can be combined in to create flexible expressions of intent in tests. They've also been used for other purposes. -Downloads ---------- -You can obtain Hamcrest binaries from [maven central][]. - -Extensions ----------- - -For Hamcrest extension projects see the [hamcrest extensions page][]. - -Documentation -------------- -Documentation can be found on the [Hamcrest site](http://hamcrest.org). - -Reporting Bugs/Issues ---------------------- -If you find an issue with Java Hamcrest, please report it via the -[GitHub issue tracker](https://github.com/hamcrest/JavaHamcrest/issues), -after first checking that it hasn't been raised already. - -Source ------- -To build, please read BUILDING.txt +The [tutorial](http://hamcrest.org/JavaHamcrest/tutorial) is good place to see how Hamcrest can be used. + +## Downloads + +You can obtain Hamcrest binaries from [maven central](https://search.maven.org/artifact/org.hamcrest/hamcrest). If you +are using build tooling such as Maven, Gradle, etc, you can simply add a dependency declaration to your build +definition. Learn more at [Hamcrest Distributables](http://hamcrest.org/JavaHamcrest/distributables). + +## Documentation + +Documentation can be found on the [Hamcrest site](http://hamcrest.org). For a detailed list of recent changes, +see [CHANGES.md](CHANGES.md) + +## Reporting Bugs/Issues + +If you find an issue with Java Hamcrest, please report it via the +[GitHub issue tracker](https://github.com/hamcrest/JavaHamcrest/issues), +after first checking that it hasn't been raised already. + +## Build from Source + +Building Hamcrest from source requires a minimum of JDK 1.8. + +Clone the repository, and from the top level directory in the repo workspace +run the following command: + +```shell +./gradlew clean build javadoc +``` +This will download the correct version of Gradle, do a full clean build, +run all tests and (if successful) package the compiled classes in a jar +file. The resulting look under the `hamcrest/build/libs` directory. + +## Acknowledgements -Acknowledgements ----------------- Developers: - * Joe Walnes - * Nat Pryce - * Steve Freeman +* Joe Walnes +* Nat Pryce +* Steve Freeman Contributors: - * Robert Chatley - * Tom White - * Neil Dunn - * Dan North - * Magne Rasmussen - * David Saff - * Tom Denley - -Also, thanks to everyone who has worked on DynaMock, nMock, jMock, EasyMock and MiniMock! These libraries inspired Hamcrest. - - -[logo]: http://hamcrest.org/images/logo.jpg -[website]: https://github.com/hamcrest/JavaHamcrest -[BSD License]: http://opensource.org/licenses/BSD-3-Clause -[Maven central]: http://search.maven.org/#search%7Cga%7C1%7Cg%3Aorg.hamcrest -[hamcrest extensions page]: https://github.com/hamcrest/JavaHamcrest/wiki/Related-Projects -[GitHub issue tracker]: https://github.com/hamcrest/JavaHamcrest/issues +* Robert Chatley +* Tom White +* Neil Dunn +* Dan North +* Magne Rasmussen +* David Saff +* Tom Denley +* Joe Schmetzer + +Also, thanks to everyone who has worked on DynaMock, nMock, jMock, EasyMock +and MiniMock! These libraries inspired Hamcrest. ++++++ _service ++++++ --- /var/tmp/diff_new_pack.kzAjqt/_old 2024-08-29 15:43:08.960688300 +0200 +++ /var/tmp/diff_new_pack.kzAjqt/_new 2024-08-29 15:43:08.964688467 +0200 @@ -3,7 +3,7 @@ <param name="scm">git</param> <param name="url">https://github.com/hamcrest/JavaHamcrest.git</param> <param name="subdir">hamcrest</param> - <param name="revision">v2.2</param> + <param name="revision">v3.0</param> <param name="match-tag">v*</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ hamcrest-2.2.pom -> hamcrest-3.0.pom ++++++ --- /work/SRC/openSUSE:Factory/hamcrest/hamcrest-2.2.pom 2022-06-17 21:22:46.078781671 +0200 +++ /work/SRC/openSUSE:Factory/.hamcrest.new.2698/hamcrest-3.0.pom 2024-08-29 15:43:07.800640067 +0200 @@ -1,17 +1,22 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" +<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <!-- This module was also published with a richer model, Gradle metadata, --> + <!-- which should be used instead. Do not delete the following line which --> + <!-- is to indicate to Gradle or any Gradle module metadata file consumer --> + <!-- that they should prefer consuming it instead. --> + <!-- do_not_remove: published-with-gradle-metadata --> <modelVersion>4.0.0</modelVersion> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> - <version>2.2</version> + <version>3.0</version> <name>Hamcrest</name> <description>Core API and libraries of hamcrest matcher framework.</description> <url>http://hamcrest.org/JavaHamcrest/</url> <licenses> <license> - <name>BSD License 3</name> - <url>http://opensource.org/licenses/BSD-3-Clause</url> + <name>BSD-3-Clause</name> + <url>https://raw.githubusercontent.com/hamcrest/JavaHamcrest/master/LICENSE</url> </license> </licenses> <developers> @@ -29,7 +34,8 @@ </developer> </developers> <scm> - <connection>g...@github.com:hamcrest/JavaHamcrest.git</connection> + <connection>scm:git:https://github.com/hamcrest/JavaHamcrest.git</connection> + <developerConnection>scm:git:ssh://github.com/hamcrest/JavaHamcrest.git</developerConnection> <url>https://github.com/hamcrest/JavaHamcrest</url> </scm> </project> ++++++ hamcrest-2.2.tar.xz -> hamcrest-3.0.tar.xz ++++++ ++++ 8242 lines of diff (skipped) ++++++ hamcrest-build.xml ++++++ --- /var/tmp/diff_new_pack.kzAjqt/_old 2024-08-29 15:43:09.116694787 +0200 +++ /var/tmp/diff_new_pack.kzAjqt/_new 2024-08-29 15:43:09.116694787 +0200 @@ -10,9 +10,12 @@ <property name="project.groupId" value="org.hamcrest"/> <property name="project.artifactId" value="hamcrest"/> - <property name="project.version" value="2.2"/> + <property name="project.version" value="3.0"/> - <property name="compiler.source" value="1.8"/> + <property name="bundle.version" value="${project.version}.0"/> + + <property name="compiler.release" value="8"/> + <property name="compiler.source" value="1.${compiler.release}"/> <property name="compiler.target" value="${compiler.source}"/> <property name="build.finalName" value="${project.artifactId}-${project.version}"/> @@ -45,6 +48,7 @@ debug="true" optimize="false" deprecation="true" + release="${compiler.release}" target="${compiler.target}" verbose="false" fork="false" @@ -69,6 +73,7 @@ debug="true" optimize="false" deprecation="true" + release="${compiler.release}" target="${compiler.target}" verbose="false" fork="false" @@ -187,9 +192,9 @@ <attribute name="Bundle-ManifestVersion" value="2"/> <attribute name="Bundle-Name" value="${project.artifactId}"/> <attribute name="Bundle-SymbolicName" value="${project.groupId}"/> - <attribute name="Bundle-Version" value="${project.version}"/> - <attribute name="Export-Package" value="org.hamcrest.beans;version="${project.version}";uses:="org.hamcrest",org.hamcrest.collection;version="${project.version}";uses:="org.hamcrest",org.hamcrest.comparator;version="${project.version}";uses:="org.hamcrest",org.hamcrest.core;version="${project.version}";uses:="org.hamcrest",org.hamcrest.internal;version="${project.version}";uses:="org.hamcrest",org.hamcrest.io;version="${project.version}";uses:="org.hamcrest",org.hamcrest.number;version="${project.version}";uses:="org.hamcrest",org.hamcrest.object;version="${project.version}";uses:="org.hamcrest",org.hamcrest.text;version="${project.version}";uses:="org.hamcrest",org.hamcrest.xml;version="${project.version}";uses:="javax.xml.namespace,org.hamcrest,org.w3c.dom",org.hamcrest;versio n="${project.version}";uses:="javax.xml.namespace,org.hamcrest.collection,org.hamcrest.core,org.hamcrest.internal,org.w3c.dom""/> - <attribute name="Import-Package" value="javax.xml.namespace;resolution:=optional,javax.xml.xpath;resolution:=optional,org.hamcrest.beans,org.hamcrest.collection,org.hamcrest.comparator,org.hamcrest.core,org.hamcrest.internal,org.hamcrest.number,org.hamcrest.object,org.hamcrest.text,org.hamcrest.xml,org.hamcrest,org.w3c.dom;resolution:=optional"/> + <attribute name="Bundle-Version" value="${bundle.version}"/> + <attribute name="Export-Package" value="org.hamcrest.beans;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.collection;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.comparator;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.core;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.internal;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.io;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.number;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.object;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.text;uses:="org.hamcrest";version="${bundle.version}",org.hamcrest.xml;uses:="javax.xml.namespace,org.hamcrest,org.w3c.dom";version="${bundle.version}",org.hamcrest;uses:="java x.xml.namespace,org.hamcrest.collection,org.hamcrest.core,org.hamcrest.internal,org.w3c.dom";version="${bundle.version}""/> + <attribute name="Import-Package" value="javax.xml.namespace;resolution:=optional,javax.xml.xpath;resolution:=optional,org.hamcrest,org.hamcrest.beans,org.hamcrest.collection,org.hamcrest.comparator,org.hamcrest.core,org.hamcrest.internal,org.hamcrest.number,org.hamcrest.object,org.hamcrest.text,org.hamcrest.xml,org.w3c.dom;resolution:=optional"/> <attribute name="Implementation-Title" value="${project.artifactId}"/> <attribute name="Implementation-Vendor" value="${project.groupId}"/> <attribute name="Implementation-Version" value="${project.version}"/>