From 831eb637963c1620082cfd647599b5c7ec1e22cc Mon Sep 17 00:00:00 2001 From: lingsheng Date: Mon, 27 Sep 2021 14:54:44 +0800 Subject: [PATCH] Provides python-scikit-learn and python-sklearn for compatibility --- python-scikit-learn.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index 6da74f7..0c403ce 100644 --- a/python-scikit-learn.spec +++ b/python-scikit-learn.spec @@ -3,7 +3,7 @@ Name: python-scikit-learn Summary: A Python module for machine learning built on top of SciPy Version: 0.24.0 -Release: 2 +Release: 3 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 python3-scipy Requires: python3 >= 3.5 python3-numpy >= 1.11.0 @@ -40,6 +42,9 @@ CFLAGS="$RPM_OPT_FLAGS -s" %{python3_sitearch}/scikit_learn-*.egg-info %changelog +* Mon Sep 27 2021 lingsheng - 0.24.0-3 +- Provides python-scikit-learn and python-sklearn for compatibility + * Sat Mar 20 2021 shixuantong - 0.24.0-2 - strip binary files -- Gitee