delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-02 00:38:34 +08:00
parent b8f4e507c1
commit a30c14777f
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -2,14 +2,14 @@
%global debug_package %{nil}
Name: scipy
Version: 1.2.2
Release: 5
Release: 6
Summary: A Python-based ecosystem of open-source software for mathematics, science, and engineering
License: Qhull and Apache-2.0
URL: https://www.scipy.org
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: gcc-c++ openblas-devel gcc-gfortran git
BuildRequires: gcc-c++ openblas-devel gcc-gfortran
%description
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
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%autosetup -n %{name}-%{version} -p1
cat > site.cfg << EOF
[amd]
@ -78,6 +78,9 @@ popd
%{python3_sitearch}/*.egg-info
%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
- Fix build error with gcc 10