Add g++ build dependcy
This commit is contained in:
parent
e9f9936fa2
commit
1448d4912b
@ -3,7 +3,7 @@
|
||||
Name: python-scikit-learn
|
||||
Summary: A Python module for machine learning built on top of SciPy
|
||||
Version: 0.24.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: BSD
|
||||
URL: https://scikit-learn.org/stable/
|
||||
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
|
||||
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-scipy >= 0.17.0 python3-joblib >= 0.11
|
||||
|
||||
@ -40,6 +40,9 @@ CFLAGS="$RPM_OPT_FLAGS -s"
|
||||
%{python3_sitearch}/scikit_learn-*.egg-info
|
||||
|
||||
%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
|
||||
- strip binary files
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user