From 5a10b475244d5fe33f5e78406d860336aea6fba8 Mon Sep 17 00:00:00 2001 From: 19909236985 Date: Wed, 23 Jun 2021 16:27:08 +0800 Subject: [PATCH] add gcc-c++ --- python-xgboost.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-xgboost.spec b/python-xgboost.spec index 04111b2..47b2748 100644 --- a/python-xgboost.spec +++ b/python-xgboost.spec @@ -3,12 +3,12 @@ Name: python-%{pypi_name} Version: 0.90 -Release: 2 +Release: 3 Summary: Scalable, Portable and Distributed Gradient Boosting Library License: Apache-2 URL: https://github.com/dmlc/xgboost Source0: https://files.pythonhosted.org/packages/96/84/4e2cae6247f397f83d8adc5c2a2a0c5d7d790a14a4c7400ff6574586f589/%{pypi_name}-%{version}.tar.gz -BuildRequires: python3-devel +BuildRequires: python3-devel gcc-c++ Requires: dejavu-fonts-common dejavu-sans-fonts libgfortran Requires: openblas openblas-serial openblas-threads Requires: python3-numpy python3-numpy-f2py python3-scipy @@ -63,6 +63,9 @@ find %{buildroot} -name "*.py" -exec sed -i -r 's!/usr/bin/python(\s|$)!/usr/bin %{python3_sitelib}/%{pypi_name}-*.egg-info/ %changelog +* Wed Jun 23 2021 wuchaochao - 0.90-3 +- add buildrequires: gcc-c++ + * Thu Feb 27 2020 lijin Yang - 0.90-2 - remove dependency of python2 * Thu Nov 7 2019 mengxian - 0.90-1