Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xgboost for openSUSE:Factory checked 
in at 2022-11-29 10:53:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xgboost (Old)
 and      /work/SRC/openSUSE:Factory/.xgboost.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xgboost"

Tue Nov 29 10:53:49 2022 rev:3 rq:1038653 version:0.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/xgboost/xgboost.changes  2020-04-27 
23:36:20.287284321 +0200
+++ /work/SRC/openSUSE:Factory/.xgboost.new.1597/xgboost.changes        
2022-11-29 10:54:20.209108946 +0100
@@ -1,0 +2,7 @@
+Mon Nov 28 07:22:09 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Add patch use-python3.patch:
+  * Use python3 during the build.
+- Change BuildRequires to python3. 
+
+-------------------------------------------------------------------

New:
----
  use-python3.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xgboost.spec ++++++
--- /var/tmp/diff_new_pack.jLFR75/_old  2022-11-29 10:54:20.973112959 +0100
+++ /var/tmp/diff_new_pack.jLFR75/_new  2022-11-29 10:54:20.981113001 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xgboost
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,11 +24,12 @@
 URL:            https://github.com/dmlc/%{name}
 Source0:        %{name}-%{version}.tar.xz
 Patch0:         xgboost-fix-big-endian.patch
+Patch1:         use-python3.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  maven-local
-BuildRequires:  python
+BuildRequires:  python3
 BuildRequires:  mvn(com.esotericsoftware.kryo:kryo)
 BuildRequires:  mvn(com.typesafe.akka:akka-actor_2.10)
 BuildRequires:  mvn(commons-logging:commons-logging)
@@ -56,6 +57,7 @@
 %ifarch s390x ppc64
 %patch0
 %endif
+%patch1 -p1
 pushd jvm-packages
 %pom_remove_plugin :scalatest-maven-plugin
 %pom_remove_plugin :scalastyle-maven-plugin

++++++ use-python3.patch ++++++
Index: xgboost-0.90/jvm-packages/xgboost4j/pom.xml
===================================================================
--- xgboost-0.90.orig/jvm-packages/xgboost4j/pom.xml
+++ xgboost-0.90/jvm-packages/xgboost4j/pom.xml
@@ -62,7 +62,7 @@
                           <goal>exec</goal>
                       </goals>
                       <configuration>
-                          <executable>python</executable>
+                          <executable>python3</executable>
                           <arguments>
                             <argument>create_jni.py</argument>
                           </arguments>

Reply via email to