Hello community,

here is the log from the commit of package xgboost for openSUSE:Factory checked 
in at 2020-04-27 23:35:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xgboost (Old)
 and      /work/SRC/openSUSE:Factory/.xgboost.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xgboost"

Mon Apr 27 23:35:51 2020 rev:2 rq:798130 version:0.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/xgboost/xgboost.changes  2020-03-06 
21:33:20.933773857 +0100
+++ /work/SRC/openSUSE:Factory/.xgboost.new.2738/xgboost.changes        
2020-04-27 23:36:20.287284321 +0200
@@ -1,0 +2,10 @@
+Mon Apr 27 08:25:46 UTC 2020 - Fridrich Strba <fst...@suse.com>
+
+- Pull sources with source service in order to have the right
+  revisions of submodules
+- Added patch:
+  * xgboost-fix-big-endian.patch
+    + flip default from little endian to big endian on big endian
+      architectures
+
+-------------------------------------------------------------------

Old:
----
  v0.1.tar.gz
  v0.3.tar.gz
  v0.90.tar.gz

New:
----
  _service
  xgboost-0.90.tar.xz
  xgboost-fix-big-endian.patch

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

Other differences:
------------------
++++++ xgboost.spec ++++++
--- /var/tmp/diff_new_pack.T8HcMk/_old  2020-04-27 23:36:21.111285929 +0200
+++ /var/tmp/diff_new_pack.T8HcMk/_new  2020-04-27 23:36:21.115285938 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xgboost
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,14 @@
 #
 
 
-%global dlmc_core_version 0.3
-%global rabit_version 0.1
 Name:           xgboost
 Version:        0.90
 Release:        0
 Summary:        Gradient Boosting (GBDT, GBRT or GBM) Library
 License:        Apache-2.0
 URL:            https://github.com/dmlc/%{name}
-Source0:        https://github.com/dmlc/%{name}/archive/v%{version}.tar.gz
-Source1:        
https://github.com/dmlc/dmlc-core/archive/v%{dlmc_core_version}.tar.gz
-Source2:        https://github.com/dmlc/rabit/archive/v%{rabit_version}.tar.gz
+Source0:        %{name}-%{version}.tar.xz
+Patch0:         xgboost-fix-big-endian.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -56,12 +53,9 @@
 
 %prep
 %setup -q
-pushd dmlc-core
-tar --strip-components=1 -xf %{SOURCE1}
-popd
-pushd rabit
-tar --strip-components=1 -xf %{SOURCE2}
-popd
+%ifarch s390x ppc64
+%patch0
+%endif
 pushd jvm-packages
 %pom_remove_plugin :scalatest-maven-plugin
 %pom_remove_plugin :scalastyle-maven-plugin

++++++ _service ++++++
<services>
        <service name="tar_scm" mode="disabled">
                <param name="scm">git</param>
                <param name="url">https://github.com/dmlc/xgboost.git</param>
                <param name="revision">v0.90</param>
                <param name="versionformat">0.90</param>
                <param name="filename">xgboost</param>
        </service>
        <service name="recompress" mode="disabled">
                <param name="file">*.tar</param>
                <param name="compression">xz</param>
        </service>
        <service name="set_version" mode="disabled"/>
</services>
++++++ xgboost-fix-big-endian.patch ++++++
--- dmlc-core/include/dmlc/base.h
+++ dmlc-core/include/dmlc/base.h
@@ -119,7 +119,7 @@
  *  if this is set to 0, use big endian.
  */
 #ifndef DMLC_IO_USE_LITTLE_ENDIAN
-#define DMLC_IO_USE_LITTLE_ENDIAN 1
+#define DMLC_IO_USE_LITTLE_ENDIAN 0
 #endif
 
 /*!

Reply via email to