strip binary files

This commit is contained in:
桐小哥 2021-03-20 12:33:29 +08:00 committed by tong_1001
parent efe17e1fcb
commit e2b396d502

View File

@ -3,7 +3,7 @@
Name: python-scikit-learn Name: python-scikit-learn
Summary: A Python module for machine learning built on top of SciPy Summary: A Python module for machine learning built on top of SciPy
Version: 0.24.0 Version: 0.24.0
Release: 1 Release: 2
License: BSD License: BSD
URL: https://scikit-learn.org/stable/ URL: https://scikit-learn.org/stable/
Source0: https://github.com/scikit-learn/scikit-learn/archive/%{version}/scikit-learn-%{version}.tar.gz 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 %autosetup -n scikit-learn-%{version} -p1 -Sgit
%build %build
CFLAGS="$RPM_OPT_FLAGS -s"
%py3_build %py3_build
%install %install
@ -39,6 +40,9 @@ Requires: python3-scipy >= 0.17.0 python3-joblib >= 0.11
%{python3_sitearch}/scikit_learn-*.egg-info %{python3_sitearch}/scikit_learn-*.egg-info
%changelog %changelog
* Sat Mar 20 2021 shixuantong <shixuantong@huawei> - 0.24.0-2
- strip binary files
* Wed Jan 13 2021 SimpleUpdate Robot <tc@openeuler.org> - 0.24.0-1 * Wed Jan 13 2021 SimpleUpdate Robot <tc@openeuler.org> - 0.24.0-1
- Upgrade to version 0.24.0 - Upgrade to version 0.24.0