!31 update to 1.2.1

From: @caodongxia 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
This commit is contained in:
openeuler-ci-bot 2023-05-06 09:21:19 +00:00 committed by Gitee
commit 00cc545286
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,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: 1.1.3 Version: 1.2.1
Release: 1 Release: 1
License: BSD License: BSD
URL: https://scikit-learn.org/stable/ URL: https://scikit-learn.org/stable/
@ -20,6 +20,7 @@ Summary: %summary
%{?python_provide:%python_provide python3-sklearn} %{?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++
BuildRequires: python3-pip python3-wheel
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
@ -30,18 +31,21 @@ Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11
%build %build
CFLAGS="$RPM_OPT_FLAGS -s" CFLAGS="$RPM_OPT_FLAGS -s"
%py3_build %pyproject_build
%install %install
%py3_install %pyproject_install scikit-learn==%{version}
%files -n python3-scikit-learn %files -n python3-scikit-learn
%license COPYING %license COPYING
%doc examples/ CONTRIBUTING.md README.rst %doc examples/ CONTRIBUTING.md README.rst
%{python3_sitearch}/sklearn %{python3_sitearch}/sklearn
%{python3_sitearch}/scikit_learn-*.egg-info %{python3_sitearch}/scikit_learn-%{version}.dist-info/
%changelog %changelog
* Sat May 6 2023 caodongxia <caodongxia@h-partners.com> - 1.2.1-1
- Update version to 1.2.1
* Tue Dec 6 2022 lijian <lijian2@kylinos.cn> - 1.1.3-1 * Tue Dec 6 2022 lijian <lijian2@kylinos.cn> - 1.1.3-1
- Upgrade to version 1.1.3 - Upgrade to version 1.1.3

Binary file not shown.

BIN
scikit-learn-1.2.1.tar.gz Normal file

Binary file not shown.