Provides python-scikit-learn and python-sklearn for compatibility

This commit is contained in:
lingsheng 2021-09-27 14:32:51 +08:00
parent b435dabcc4
commit c90c302e6f

View File

@ -3,7 +3,7 @@
Name: python-scikit-learn
Summary: A Python module for machine learning built on top of SciPy
Version: 0.20.4
Release: 3
Release: 4
License: BSD
URL: https://scikit-learn.org/stable/
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
Summary: %summary
%{?python_provide:%python_provide python3-scikit-learn}
%{?python_provide:%python_provide python3-sklearn}
BuildRequires: git python3-devel python3-numpy python3-Cython python3-pytest
Requires: python3 >= 3.5 python3-numpy >= 1.11.0
@ -39,6 +41,9 @@ Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11
%{python3_sitearch}/scikit_learn-*.egg-info
%changelog
* Mon Sep 27 2021 lingsheng <lingsheng@huawei.com> - 0.20.4-4
- Provides python-scikit-learn and python-sklearn for compatibility
* Fri Aug 21 2020 shixuantong <shixuantong@huawei.com> - 0.20.4-3
- add release version for rebuild