From: Kefu Chai Date: Thu, 25 Jun 2020 10:04:40 +0000 (+0800) Subject: ceph.spec.in: Requires python3-scikit-learn only on fedora and suse X-Git-Tag: wip-pdonnell-testing-20200918.022351~864^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=338f47fe948643babd3ae5e640b28ffb1aa1958e;p=ceph-ci.git ceph.spec.in: Requires python3-scikit-learn only on fedora and suse so far, python3-scikit-learn is not packaged by RHEL8/CentOS8 or EPEL8. see https://src.fedoraproject.org/rpms/python-scikit-learn/branches?branchname=master this change should address the regression introduced by d13b441cdb63e37ad3b8ba36cbd3edc33b1e4bbd Signed-off-by: Kefu Chai --- diff --git a/ceph.spec.in b/ceph.spec.in index 261fded6996..258fb613b0f 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -500,7 +500,9 @@ Group: System/Filesystems %endif Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} Requires: python%{python3_pkgversion}-numpy +%if 0%{?fedora} || 0%{?suse_version} Requires: python%{python3_pkgversion}-scikit-learn +%endif Requires: python3-scipy %description mgr-diskprediction-local ceph-mgr-diskprediction-local is a ceph-mgr module that tries to predict