!15 Add g++ build dependency

From: @run-is-pig
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-06-25 06:51:24 +00:00 committed by Gitee
commit 99fc7c7611

View File

@ -3,7 +3,7 @@
Name: python-scikit-learn Name: python-scikit-learn
Summary: A Python module for machine learning built on top of SciPy Summary: A Python module for machine learning built on top of SciPy
Version: 0.24.0 Version: 0.24.0
Release: 2 Release: 3
License: BSD License: BSD
URL: https://scikit-learn.org/stable/ URL: https://scikit-learn.org/stable/
Source0: https://github.com/scikit-learn/scikit-learn/archive/%{version}/scikit-learn-%{version}.tar.gz Source0: https://github.com/scikit-learn/scikit-learn/archive/%{version}/scikit-learn-%{version}.tar.gz
@ -17,7 +17,7 @@ and is distributed under the 3-Clause BSD license.\
%package -n python3-scikit-learn %package -n python3-scikit-learn
Summary: %summary Summary: %summary
BuildRequires: git python3-devel python3-numpy python3-Cython python3-pytest python3-scipy BuildRequires: git python3-devel python3-numpy python3-Cython python3-pytest python3-scipy g++
Requires: python3 >= 3.5 python3-numpy >= 1.11.0 Requires: python3 >= 3.5 python3-numpy >= 1.11.0
Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11 Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11
@ -40,6 +40,9 @@ CFLAGS="$RPM_OPT_FLAGS -s"
%{python3_sitearch}/scikit_learn-*.egg-info %{python3_sitearch}/scikit_learn-*.egg-info
%changelog %changelog
* Wed Jun 23 2021 liudabo <liudabo1@huawei.com> - 0.24.0-3
- Add g++ build dependcy
* Sat Mar 20 2021 shixuantong <shixuantong@huawei> - 0.24.0-2 * Sat Mar 20 2021 shixuantong <shixuantong@huawei> - 0.24.0-2
- strip binary files - strip binary files