diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index 742401c..862b3d5 100644 --- a/python-scikit-learn.spec +++ b/python-scikit-learn.spec @@ -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 - 1.2.1-1 +- Update version to 1.2.1 + * Tue Dec 6 2022 lijian - 1.1.3-1 - Upgrade to version 1.1.3 diff --git a/scikit-learn-1.1.3.tar.gz b/scikit-learn-1.1.3.tar.gz deleted file mode 100644 index ae8f6a6..0000000 Binary files a/scikit-learn-1.1.3.tar.gz and /dev/null differ diff --git a/scikit-learn-1.2.1.tar.gz b/scikit-learn-1.2.1.tar.gz new file mode 100644 index 0000000..014fb2c Binary files /dev/null and b/scikit-learn-1.2.1.tar.gz differ