From 23879849de331ec46383463492cdc81d72588377 Mon Sep 17 00:00:00 2001 From: doupengda Date: Tue, 16 Jul 2024 20:22:39 +0800 Subject: [PATCH] fix build error for loongarch64 --- python-scikit-learn.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index 271c2b7..0944c5f 100644 --- a/python-scikit-learn.spec +++ b/python-scikit-learn.spec @@ -1,13 +1,17 @@ # compile dependency issues, scipy-1.73 and numpy-1.22.x don't work well together # see https://github.com/scipy/scipy/issues/15414 +%ifarch loongarch64 +%bcond_with check +%else %bcond_without check +%endif %global srcname scikit-learn Summary: Machine learning in Python Name: python-scikit-learn Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD and MIT URL: http://scikit-learn.org/ Source0: %{pypi_source} @@ -74,6 +78,10 @@ popd %{python3_sitearch}/scikit_learn-*.egg-info %changelog +* Tue Jul 16 2024 Pengda Dou - 1.3.0-3 +- [Type] other +- [DESC] fix build error for loongarch64 + * Thu Jun 6 2024 Shuo Wang - 1.3.0-2 - disable some tests due to low cpython -- Gitee