From e2b396d5025ce6b12ede073c191ab3539cedb687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A1=90=E5=B0=8F=E5=93=A5?= Date: Sat, 20 Mar 2021 12:33:29 +0800 Subject: [PATCH] strip binary files --- python-scikit-learn.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-scikit-learn.spec b/python-scikit-learn.spec index b8d7df3..6da74f7 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: 1 +Release: 2 License: BSD URL: https://scikit-learn.org/stable/ Source0: https://github.com/scikit-learn/scikit-learn/archive/%{version}/scikit-learn-%{version}.tar.gz @@ -27,6 +27,7 @@ Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11 %autosetup -n scikit-learn-%{version} -p1 -Sgit %build +CFLAGS="$RPM_OPT_FLAGS -s" %py3_build %install @@ -39,6 +40,9 @@ Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11 %{python3_sitearch}/scikit_learn-*.egg-info %changelog +* Sat Mar 20 2021 shixuantong - 0.24.0-2 +- strip binary files + * Wed Jan 13 2021 SimpleUpdate Robot - 0.24.0-1 - Upgrade to version 0.24.0 -- Gitee