update to 1.2.1

This commit is contained in:
caodongxia 2023-05-06 16:23:03 +08:00
parent e09050592c
commit 33e7baf658
3 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@
Name: python-scikit-learn
Summary: A Python module for machine learning built on top of SciPy
Version: 1.1.3
Version: 1.2.1
Release: 1
License: BSD
URL: https://scikit-learn.org/stable/
@ -20,6 +20,7 @@ Summary: %summary
%{?python_provide:%python_provide python3-sklearn}
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-scipy >= 0.17.0 python3-joblib >= 0.11
@ -30,18 +31,21 @@ Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11
%build
CFLAGS="$RPM_OPT_FLAGS -s"
%py3_build
%pyproject_build
%install
%py3_install
%pyproject_install scikit-learn==%{version}
%files -n python3-scikit-learn
%license COPYING
%doc examples/ CONTRIBUTING.md README.rst
%{python3_sitearch}/sklearn
%{python3_sitearch}/scikit_learn-*.egg-info
%{python3_sitearch}/scikit_learn-%{version}.dist-info/
%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
- Upgrade to version 1.1.3

Binary file not shown.

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

Binary file not shown.