6
0
forked from pool/xgboost

Compare commits

...

9 Commits

Author SHA256 Message Date
b40fc75c64 Accepting request 1275533 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/1275533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=8
2025-05-08 16:23:49 +00:00
4815b8a61a - export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
minimum version warnings

OBS-URL: https://build.opensuse.org/package/show/Java:packages/xgboost?expand=0&rev=25
2025-05-08 12:52:46 +00:00
257701d315 Accepting request 1218822 from Java:packages
Remove bogus dependencies

OBS-URL: https://build.opensuse.org/request/show/1218822
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=7
2024-10-28 17:09:22 +00:00
6a67ce6be9 OBS-URL: https://build.opensuse.org/package/show/Java:packages/xgboost?expand=0&rev=23 2024-10-28 13:12:00 +00:00
43aa8c10df Accepting request 1148922 from Java:packages
rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=6
2024-02-22 19:58:16 +00:00
0e8888f7d9 Accepting request 1117471 from Java:packages
Upgrading the scala stack

OBS-URL: https://build.opensuse.org/request/show/1117471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=5
2023-10-12 21:44:16 +00:00
3f1611abad Accepting request 1114849 from Java:packages
Build with ant to avoid dependency on scala-maven-plugin

OBS-URL: https://build.opensuse.org/request/show/1114849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=4
2023-10-04 20:30:47 +00:00
69d1abbbf4 Accepting request 1038653 from Java:packages
OBS-URL: https://build.opensuse.org/request/show/1038653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=3
2022-11-29 09:53:49 +00:00
e516ee521b Accepting request 798130 from Java:packages
fix build on big endian architectures

OBS-URL: https://build.opensuse.org/request/show/798130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xgboost?expand=0&rev=2
2020-04-27 21:35:51 +00:00
2 changed files with 16 additions and 5 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed May 7 12:24:43 UTC 2025 - Simon Lees <sflees@suse.de>
- export CMAKE_POLICY_VERSION_MINIMUM="3.5" to ignore cmakes
minimum version warnings
-------------------------------------------------------------------
Mon Oct 28 13:09:49 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Remove bogus dependencies
-------------------------------------------------------------------
Wed Feb 21 16:21:26 UTC 2024 - Fridrich Strba <fstrba@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package xgboost
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -32,18 +32,15 @@ Patch0: xgboost-fix-big-endian.patch
Patch1: no-hadoop.patch
Patch2: xgboost-2.0.0-python34.patch
Patch3: xgboost-2.0.0-cmake.patch
BuildRequires: akka
BuildRequires: ant
BuildRequires: apache-commons-logging
BuildRequires: cmake >= 3.5
BuildRequires: fdupes
BuildRequires: javapackages-local >= 6
BuildRequires: kryo
BuildRequires: objenesis
BuildRequires: python3
BuildRequires: scala
BuildRequires: scala-ant
BuildRequires: typesafe-config
%if 0%{?suse_version} <= 1500
BuildRequires: gcc8-c++ >= 8.1
%else
@@ -76,6 +73,9 @@ cp %{SOURCE1} jvm-packages/%{artifactId}/build.xml
%pom_remove_dep ":scala-collection-compat_\${scala.binary.version}" jvm-packages/%{artifactId}
%build
# Remove cmake4 error due to not setting
# min cmake version - sflees.de
export CMAKE_POLICY_VERSION_MINIMUM=3.5
pushd jvm-packages
%if 0%{?suse_version} <= 1500
export CC=gcc-8
@@ -87,7 +87,7 @@ python3 create_jni.py
popd
pushd jvm-packages/%{artifactId}
mkdir -p lib
build-jar-repository -s lib akka kryo commons-logging scala typesafe-config objenesis/objenesis
build-jar-repository -s lib kryo commons-logging scala
%{ant} jar javadoc
popd