Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package opennlp for openSUSE:Factory checked in at 2026-07-15 22:14:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/opennlp (Old) and /work/SRC/openSUSE:Factory/.opennlp.new.1991 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opennlp" Wed Jul 15 22:14:26 2026 rev:5 rq:1365976 version:1.9.5 Changes: -------- --- /work/SRC/openSUSE:Factory/opennlp/opennlp.changes 2023-09-10 13:12:08.110637866 +0200 +++ /work/SRC/openSUSE:Factory/.opennlp.new.1991/opennlp.changes 2026-07-15 22:15:20.166709218 +0200 @@ -1,0 +2,70 @@ +Wed Jul 15 07:27:37 UTC 2026 - Fridrich Strba <[email protected]> + +- Upgrade to version 1.9.5 + * Changes of version 1.9.5 + + OPENNLP-1819: Align DictionaryEntryPersistor XML parsing with + XmlUtil helper (bsc#1263874, CVE-2026-40682) + + OPENNLP-1820: Restrict ExtensionLoader to allowlisted package + prefixes (bsc#1263873,CVE-2026-42027) + + OPENNLP-1821: Prevent OutOfMemory due to huge array allocation + (bsc#1263872, CVE-2026-42440) + + OPENNLP-1826: Fix for XML parser security options + (bsc#1263874, CVE-2026-40682) + + OPENNLP-1835: Tolerate unsupported XML parser security options + (bsc#1263874, CVE-2026-40682) + * Changes of version 1.9.4 + + Refactorings to improve code quality and performance + + Fix Parser top k parses doesn't show "top" (highest + probability) parses + + Use LinkedHashMap for deterministic iteration order + + Fix spelling errors in the documentation + * Changes of version 1.9.3 + + Resolve issues building on Java 11 + + Use strict math for calculations for consistent evaluations + + Implement Serializable in langdetect and normalize + + Fix issue where language detector fails to predict language on + long input texts + + Add support for Catalan and Indonesian stemmers + + Documentation improvements + * Changes of version 1.9.2 + + Add SHA-512 checksum files for artifacts + + Fix LanguageDetectorEvaluatorTest failure in Windows + + Fix Build Warnings due to deprecated pom.version + + Add support for Arabic and Greek stemmers + * Changes of version 1.9.1 + + Various minor bug fixes and dependency updates + * Changes of version 1.9.0 + + Update FeatureGeneratorUtil to recognize Japanese Hiragana and + Katakana letters + + Unify the code used to sum up input context features + + Update the Penn Treebank URL + + Provide explanations for the new format of the feature + generator XML configuration + * Changes of version 1.8.0 + + Fix XML External Entity (XXE) vulnerability in Dictionary + component (CVE-2017-12620) + + Add support for the CONLL-U format + + Add support for subword embeddings and WordPiece tokenization + + Change Lemmatizer API to return the actual lemma directly + + Add stemmer, detokenizer, and sentence detection abbreviations + for the Irish language + + Add feature generation via XML for the POS Tagger context + generator + * Changes of version 1.7.0 + + Increase the minimum requirements to Java 1.8 and Maven 3.3.9 + + Improve content analysis performance by up to 50% + + Add a Naive Bayesian Classifier implementation + + Add a language model component and a brat annotation service + + Include the Morfologik addon + + Introduce a supervised statistical lemmatizer and a CLI for + the lemmatizer component + * Changes of version 1.6.0 + + Increase the minimum Java requirement to Java 1.7 + + Add evaluation support to the doccat and parser components + + Add support for Brat, OntoNotes, and Evalita 07/09 corpus formats + + Introduce pluggable machine learning support and add Liblinear + as a Machine Learning addon + + Add a lemmatizer module and sequence classification support + + Add a new command-line interface for the Entity Linker component + +------------------------------------------------------------------- Old: ---- apache-opennlp-1.5.3-src.tar.gz New: ---- _scmsync.obsinfo apache-opennlp-1.9.5-src.tar.gz build.specials.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ opennlp.spec ++++++ --- /var/tmp/diff_new_pack.1QCAKw/_old 2026-07-15 22:15:21.306747899 +0200 +++ /var/tmp/diff_new_pack.1QCAKw/_new 2026-07-15 22:15:21.306747899 +0200 @@ -1,7 +1,7 @@ # # spec file for package opennlp # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 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 @@ -17,19 +17,20 @@ Name: opennlp -Version: 1.5.3 +Version: 1.9.5 Release: 0 Summary: A machine learning based toolkit for the processing of natural language text License: Apache-2.0 URL: https://opennlp.apache.org/ -Source0: http://archive.apache.org/dist/opennlp/%{name}-%{version}/apache-%{name}-%{version}-src.tar.gz +Source0: https://archive.apache.org/dist/opennlp/%{name}-%{version}/apache-%{name}-%{version}-src.tar.gz BuildRequires: fdupes BuildRequires: java-devel >= 1.8 BuildRequires: maven-local -BuildRequires: mvn(net.sf.jwordnet:jwnl) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.apache.uima:uimaj-core) BuildRequires: mvn(org.apache:apache:pom:) +BuildRequires: mvn(org.carrot2:morfologik-stemming) +BuildRequires: mvn(org.carrot2:morfologik-tools) BuildRequires: mvn(org.osgi:osgi.cmpn) BuildRequires: mvn(org.osgi:osgi.core) BuildArch: noarch @@ -46,15 +47,17 @@ %package tools Summary: Apache OpenNLP Tools +Provides: %{name}-maxent = %{version} +Obsoletes: %{name}-maxent < %{version} %description tools This package provides Apache OpenNLP Tools. -%package maxent -Summary: Apache OpenNLP Maxent +%package morfologik-addon +Summary: Apache OpenNLP Morfologik Addon -%description maxent -This package provides Apache OpenNLP Maxent. +%description morfologik-addon +This package provides Apache OpenNLP Morfologik Addon. %package uima Summary: Apache OpenNLP UIMA Annotators @@ -76,52 +79,41 @@ find . -name '*.class' -print -delete # use latest OSGi implementation -%pom_change_dep -r :org.osgi.core org.osgi:osgi.core opennlp -%pom_change_dep -r :org.osgi.compendium org.osgi:osgi.cmpn opennlp +%pom_change_dep -r :org.osgi.core org.osgi:osgi.core +%pom_change_dep -r :org.osgi.compendium org.osgi:osgi.cmpn -%pom_remove_plugin -r :apache-rat-plugin opennlp -%pom_remove_plugin -r :maven-dependency-plugin opennlp -%pom_remove_plugin -r :maven-eclipse-plugin opennlp -%pom_remove_plugin -r :maven-source-plugin opennlp -%pom_remove_plugin -r :maven-javadoc-plugin opennlp - -%pom_xpath_set -r pom:addClasspath false opennlp - -%pom_disable_module ../opennlp-distr opennlp -%pom_disable_module ../opennlp-docs opennlp - -for p in maxent tools ; do -%pom_xpath_inject "pom:dependency[pom:artifactId='junit']" "<scope>test</scope>" opennlp-${p} -done - -# AssertionError: expected:<0.7756870512503095> but was:<0.7766773953948998> -rm -r opennlp-maxent/src/test/java/opennlp/perceptron/PerceptronPrepAttachTest.java \ - opennlp-maxent/src/test/java/opennlp/maxent/quasinewton/QNTrainerTest.java \ - opennlp-maxent/src/test/java/opennlp/PrepAttachDataUtil.java \ - opennlp-maxent/src/test/java/opennlp/maxent/MaxentPrepAttachTest.java +%pom_remove_plugin -r :apache-rat-plugin +%pom_remove_plugin -r :maven-dependency-plugin +%pom_remove_plugin -r :maven-eclipse-plugin +%pom_remove_plugin -r :maven-source-plugin +%pom_remove_plugin -r :maven-javadoc-plugin + +%pom_remove_plugin -r :maven-enforcer-plugin +%pom_remove_plugin -r :forbiddenapis +%pom_remove_plugin -r :maven-checkstyle-plugin + +%pom_xpath_set pom:addClasspath false opennlp-tools + +%pom_disable_module opennlp-brat-annotator +%pom_disable_module opennlp-distr +%pom_disable_module opennlp-docs %build -%{mvn_build} -f -j -s -- \ -%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} - -Dmaven.compiler.release=8 \ -%endif - -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) \ - -Dsource=8 -f opennlp/pom.xml +%{mvn_build} -f -j -s %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles-%{name} -%doc KEYS opennlp-distr/README opennlp-distr/RELEASE_NOTES.html +%doc KEYS README.md %license LICENSE NOTICE %files tools -f .mfiles-%{name}-tools %license LICENSE NOTICE -%files maxent -f .mfiles-%{name}-maxent -%license LICENSE NOTICE +%files morfologik-addon -f .mfiles-%{name}-morfologik-addon %files uima -f .mfiles-%{name}-uima ++++++ _scmsync.obsinfo ++++++ mtime: 1784101949 commit: b9bc41e9993394a12f99e9eab9d003bb45d43b1818f558c915e1c674d2f0e2aa url: https://src.opensuse.org/java-packages/opennlp revision: b9bc41e9993394a12f99e9eab9d003bb45d43b1818f558c915e1c674d2f0e2aa projectscmsync: https://src.opensuse.org/java-packages/_ObsPrj ++++++ apache-opennlp-1.5.3-src.tar.gz -> apache-opennlp-1.9.5-src.tar.gz ++++++ ++++ 331555 lines of diff (skipped) ++++++ 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 2026-07-15 09:52:29.000000000 +0200 @@ -0,0 +1 @@ +.osc
