!19 Provides python-scikit-learn and python-sklearn for compatibility
From: @ultra_planet Reviewed-by: @shinwell_hu Signed-off-by: @shinwell_hu
This commit is contained in:
commit
3d30178312
@ -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: 4
|
Release: 5
|
||||||
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
|
||||||
@ -16,6 +16,8 @@ and is distributed under the 3-Clause BSD license.\
|
|||||||
|
|
||||||
%package -n python3-scikit-learn
|
%package -n python3-scikit-learn
|
||||||
Summary: %summary
|
Summary: %summary
|
||||||
|
%{?python_provide:%python_provide python3-scikit-learn}
|
||||||
|
%{?python_provide:%python_provide python3-sklearn}
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-numpy python3-Cython python3-pytest python3-scipy g++
|
BuildRequires: 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
|
||||||
@ -40,6 +42,9 @@ CFLAGS="$RPM_OPT_FLAGS -s"
|
|||||||
%{python3_sitearch}/scikit_learn-*.egg-info
|
%{python3_sitearch}/scikit_learn-*.egg-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 0.24.0-5
|
||||||
|
- Provides python-scikit-learn and python-sklearn for compatibility
|
||||||
|
|
||||||
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.24.0-4
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.24.0-4
|
||||||
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user