!7 gmp delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2021-08-12 07:29:21 +00:00 committed by Gitee
commit c088b9e8a1

View File

@ -1,11 +1,11 @@
Name: gmp Name: gmp
Version: 6.2.1 Version: 6.2.1
Release: 1 Release: 2
Epoch: 1 Epoch: 1
URL: https://gmplib.org URL: https://gmplib.org
Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2 Source0: https://gmplib.org/download/gmp/gmp-%{version}.tar.bz2
License: LGPLv3 and GPLv2 License: LGPLv3 and GPLv2
BuildRequires: autoconf automake libtool gcc gcc-c++ git perl-Carp BuildRequires: autoconf automake libtool gcc gcc-c++ perl-Carp
Summary: A GNU multiple precision arithmetic library Summary: A GNU multiple precision arithmetic library
%description %description
@ -31,7 +31,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
GMP dependent library for C++ applications. GMP dependent library for C++ applications.
%prep %prep
%autosetup -S git %autosetup -p1
%build %build
autoreconf -ifv autoreconf -ifv
@ -97,6 +97,9 @@ make %{?_smp_mflags} check
%{_libdir}/pkgconfig/gmpxx.pc %{_libdir}/pkgconfig/gmpxx.pc
%changelog %changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 6.2.1-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1:6.2.1-1 * Sat Jan 30 2021 xinghe <xinghe1@huawei.com> - 1:6.2.1-1
- Upgrade to 6.2.1 - Upgrade to 6.2.1