Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package languagetool for openSUSE:Factory checked in at 2024-05-16 17:16:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/languagetool (Old)
and /work/SRC/openSUSE:Factory/.languagetool.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "languagetool"
Thu May 16 17:16:00 2024 rev:7 rq:1174353 version:4.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/languagetool/languagetool-core.changes 2024-02-22 20:58:54.868037698 +0100
+++ /work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-core.changes 2024-05-16 17:18:18.138722271 +0200
@@ -1,0 +2,7 @@
+Sat May 4 14:01:48 UTC 2024 - Fridrich Strba
+
+- languagetool-test-resource.patch
+ * fix running tests from the standalone
+ languagetool-core-tests.jar
+
+-------------------------------------------------------------------
languagetool-tools.changes: same change
languagetool.changes: same change
New:
----
languagetool-test-resource.patch
BETA DEBUG BEGIN:
New:/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-core.changes-
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-core.changes:- languagetool-test-resource.patch
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-core.changes- * fix running tests from the standalone
--
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-tools.changes-
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-tools.changes:- languagetool-test-resource.patch
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool-tools.changes- * fix running tests from the standalone
--
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool.changes-
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool.changes:- languagetool-test-resource.patch
/work/SRC/openSUSE:Factory/.languagetool.new.1880/languagetool.changes- * fix running tests from the standalone
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ languagetool-core.spec ++++++
--- /var/tmp/diff_new_pack.mFTIRM/_old 2024-05-16 17:18:19.154759096 +0200
+++ /var/tmp/diff_new_pack.mFTIRM/_new 2024-05-16 17:18:19.154759096 +0200
@@ -32,6 +32,7 @@
Patch1: languagetool-xgboost-predictor.patch
Patch2: languagetool-hunspell.patch
Patch3: languagetool-4.8-lucene-8.patch
+Patch4: languagetool-test-resource.patch
BuildRequires: fdupes
BuildRequires: hunspell-devel
BuildRequires: maven-local
@@ -95,6 +96,7 @@
%if %{?pkg_vcmp:%pkg_vcmp lucene-core >= 8}%{!?pkg_vcmp:0}
%patch -P 3 -p1
%endif
+%patch -P 4 -p1
cat %{SOURCE100} | sed "s#@LIBHUNSPELL@#$(basename $(readlink -e %{_libdir}/libhunspell.so))#g" | patch -p1
++++++ languagetool-tools.spec ++++++
--- /var/tmp/diff_new_pack.mFTIRM/_old 2024-05-16 17:18:19.186760256 +0200
+++ /var/tmp/diff_new_pack.mFTIRM/_new 2024-05-16 17:18:19.190760401 +0200
@@ -29,6 +29,7 @@
Patch1: languagetool-xgboost-predictor.patch
Patch2: languagetool-hunspell.patch
Patch3: languagetool-4.8-lucene-8.patch
+Patch4: languagetool-test-resource.patch
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: mvn(commons-cli:commons-cli)
@@ -56,6 +57,7 @@
%if %{?pkg_vcmp:%pkg_vcmp lucene-core >= 8}%{!?pkg_vcmp:0}
%patch -P 3 -p1
%endif
+%patch -P 4 -p1
pushd %{name}
%{mvn_file} :{*} %{base_name}/@1
++++++ languagetool.spec ++++++
--- /var/tmp/diff_new_pack.mFTIRM/_old 2024-05-16 17:18:19.218761416 +0200
+++ /var/tmp/diff_new_pack.mFTIRM/_new 2024-05-16 17:18:19.218761416 +0200
@@ -28,6 +28,7 @@
Patch1: languagetool-xgboost-predictor.patch
Patch2: languagetool-hunspell.patch
Patch3: languagetool-4.8-lucene-8.patch
+Patch4: languagetool-test-resource.patch
BuildRequires: fdupes
BuildRequires: maven-local
BuildRequires: xmvn-subst
@@ -163,6 +164,7 @@
%if %{?pkg_vcmp:%pkg_vcmp lucene-core >= 8}%{!?pkg_vcmp:0}
%patch -P 3 -p1
%endif
+%patch -P 4 -p1
# We built these ones in another spec file
%pom_disable_module languagetool-core
++++++ languagetool-test-resource.patch ++++++
--- languagetool-4.8/languagetool-core/src/test/java/org/languagetool/tools/StringToolsTest.java 2024-05-04 15:45:27.936860841 +0200
+++ languagetool-4.8/languagetool-core/src/test/java/org/languagetool/tools/StringToolsTest.java 2024-05-04 15:46:39.262077132 +0200
@@ -55,7 +55,7 @@
@Test
public void testReadStream() throws IOException {
- String content = StringTools.readStream(new FileInputStream("src/test/resources/testinput.txt"), "utf-8");
+ String content = StringTools.readStream(this.getClass().getResourceAsStream("/testinput.txt"), "utf-8");
assertEquals("one\ntwo\nöäüß\nșțîâăȘȚÎÂĂ\n", content);
}