!9 scipy delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-20 10:06:32 +00:00 committed by Gitee
commit fb12f7de4c

View File

@ -2,14 +2,14 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: scipy Name: scipy
Version: 1.2.2 Version: 1.2.2
Release: 5 Release: 6
Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering
License: Qhull and Apache-2.0 License: Qhull and Apache-2.0
URL: https://www.scipy.org URL: https://www.scipy.org
Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz Source0: https://github.com/scipy/scipy/releases/download/v%{version}/scipy-%{version}.tar.gz
BuildRequires: python3-devel python3-numpy >= 1.8.2 python3-numpy-f2py BuildRequires: python3-devel python3-numpy >= 1.8.2 python3-numpy-f2py
BuildRequires: gcc-c++ openblas-devel gcc-gfortran git BuildRequires: gcc-c++ openblas-devel gcc-gfortran
%description %description
SciPy (pronounced "Sigh Pie") is open-source software for mathematics, science, and engineering. SciPy (pronounced "Sigh Pie") is open-source software for mathematics, science, and engineering.
@ -31,7 +31,7 @@ Requires: python3 python3-numpy
python3 package for scipy python3 package for scipy
%prep %prep
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1
cat > site.cfg << EOF cat > site.cfg << EOF
[amd] [amd]
@ -78,6 +78,9 @@ popd
%{python3_sitearch}/*.egg-info %{python3_sitearch}/*.egg-info
%changelog %changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.2.2-6
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Sun 01 Aug 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.2.2-5 * Sun 01 Aug 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.2.2-5
- Fix build error with gcc 10 - Fix build error with gcc 10