diff --git a/_service b/_service
new file mode 100644
index 0000000..57a5758
--- /dev/null
+++ b/_service
@@ -0,0 +1,13 @@
+
+
+ git
+ https://github.com/h2oai/xgboost-predictor.git
+ 5f3fb2b
+ 0.3.20
+
+
+ *.tar
+ xz
+
+
+
diff --git a/aggregator.pom b/aggregator.pom
new file mode 100644
index 0000000..dc0f073
--- /dev/null
+++ b/aggregator.pom
@@ -0,0 +1,16 @@
+
+
+ 4.0.0
+ org.opensuse.xmvn.xgboost-predictor
+ aggregator
+ any
+ pom
+
+ UTF-8
+
+
+ h2o-tree-api
+ xgboost-predictor
+
+
diff --git a/h2o-tree-api-0.3.20.pom b/h2o-tree-api-0.3.20.pom
new file mode 100644
index 0000000..b888d63
--- /dev/null
+++ b/h2o-tree-api-0.3.20.pom
@@ -0,0 +1,39 @@
+
+
+ 4.0.0
+ ai.h2o
+ h2o-tree-api
+ 0.3.20
+ h2o-tree-api
+ Pure Java implementation of XGBoost predictor for online prediction tasks
+ https://github.com/h2oai/xgboost-predictor
+ 2018
+
+ H2O.ai
+ http://h2o.ai/
+
+
+
+ The Apache Software License, Version 2.0
+ http://www.apache.org/licenses/LICENSE-2.0.txt
+ repo
+
+
+
+
+ support
+ H2O.ai Support
+ support@h2o.ai
+
+
+
+ scm:git:https://github.com/h2oai/xgboost-predictor.git
+ scm:git:git@github.com:h2oai/xgboost-predictor.git
+ https://github.com/h2oai/xgboost-predictor
+
+
+ Jira
+ http://jira.h2o.ai
+
+
diff --git a/v0.3.3.tar.gz b/v0.3.3.tar.gz
deleted file mode 100644
index a67d4c6..0000000
--- a/v0.3.3.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:37a130ed1bb2cd9bc004d5c30d57d36662f8419a4f606384658b37369825233b
-size 70929
diff --git a/xgboost-predictor-0.3.3.pom b/xgboost-predictor-0.3.20.pom
similarity index 89%
rename from xgboost-predictor-0.3.3.pom
rename to xgboost-predictor-0.3.20.pom
index d991639..d8838f8 100644
--- a/xgboost-predictor-0.3.3.pom
+++ b/xgboost-predictor-0.3.20.pom
@@ -4,7 +4,7 @@
4.0.0
ai.h2o
xgboost-predictor
- 0.3.3
+ 0.3.20
xgboost-predictor
Pure Java implementation of XGBoost predictor for online prediction tasks
https://github.com/h2oai/xgboost-predictor
@@ -37,6 +37,12 @@
http://jira.h2o.ai
+
+ ai.h2o
+ h2o-tree-api
+ 0.3.20
+ compile
+
net.jafama
jafama
diff --git a/xgboost-predictor-0.3.20.tar.xz b/xgboost-predictor-0.3.20.tar.xz
new file mode 100644
index 0000000..eb1d83b
--- /dev/null
+++ b/xgboost-predictor-0.3.20.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:c014c5b7b1ae64ae74adbdc841d4083c63ffb4c52fa60b2643d371367211efc2
+size 78480
diff --git a/xgboost-predictor.changes b/xgboost-predictor.changes
index 23873d7..30f03e1 100644
--- a/xgboost-predictor.changes
+++ b/xgboost-predictor.changes
@@ -1,3 +1,23 @@
+-------------------------------------------------------------------
+Mon Oct 6 13:42:10 UTC 2025 - Fridrich Strba
+
+- Upgrade to version 0.3.20
+ * Changes
+ + Make the fix in PR backwards compatible in order to use it
+ in H2O-3 and provide same predictions for older MOJOs and pass
+ the compatibility test.
+ + Change the order of the floating point operation to match
+ prediction in native xgboost version 1.3.0 and newer
+ + Add support for reg:logistic and rank:ndcg oobjectives.
+ + Revert renaming of getWeight.
+ + Expose RegTreeNode stats.
+ + Fix loading an empty gblinear booster
+ + Upgrade to XGBoost v1.0.0 support.
+- Package now contains two artifacts:
+ * xgboost-predictor and
+ * h2o-tree-api
+- Remove unneeded alias
+
-------------------------------------------------------------------
Thu Oct 26 05:51:05 UTC 2023 - Fridrich Strba
diff --git a/xgboost-predictor.spec b/xgboost-predictor.spec
index fe20f5a..059b3c2 100644
--- a/xgboost-predictor.spec
+++ b/xgboost-predictor.spec
@@ -1,7 +1,7 @@
#
# spec file for package xgboost-predictor
#
-# Copyright (c) 2023 SUSE LLC
+# 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
@@ -17,14 +17,16 @@
Name: xgboost-predictor
-Version: 0.3.3
+Version: 0.3.20
Release: 0
Summary: Pure Java implementation of Xgboost predictor for online prediction tasks
License: Apache-2.0
Group: Development/Libraries/Java
URL: https://github.com/h2oai/%{name}
-Source0: https://github.com/h2oai/%{name}/archive/v%{version}.tar.gz
+Source0: %{name}-%{version}.tar.xz
Source1: https://repo1.maven.org/maven2/ai/h2o/%{name}/%{version}/%{name}-%{version}.pom
+Source2: https://repo1.maven.org/maven2/ai/h2o/h2o-tree-api/%{version}/h2o-tree-api-%{version}.pom
+Source100: aggregator.pom
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: maven-local
@@ -42,11 +44,13 @@ Group: Documentation/HTML
%{summary}
%prep
-%setup -q -n %{name}-%{version}/%{name}
+%setup -q
-cp %{SOURCE1} pom.xml
+cp %{SOURCE100} pom.xml
+cp %{SOURCE1} %{name}/pom.xml
+cp %{SOURCE2} h2o-tree-api/pom.xml
-%{mvn_alias} : biz.k11i:
+%mvn_package :aggregator __noinstall
%build
%{mvn_build} -f -- \
@@ -60,9 +64,9 @@ cp %{SOURCE1} pom.xml
%fdupes -s %{buildroot}%{_javadocdir}
%files -f .mfiles
-%license ../LICENSE
+%license LICENSE
%files javadoc -f .mfiles-javadoc
-%license ../LICENSE
+%license LICENSE
%changelog