!5 perl-Error delete -S git from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @shinwell_hu
Signed-off-by: @shinwell_hu
This commit is contained in:
openeuler-ci-bot 2021-08-11 09:30:56 +00:00 committed by Gitee
commit 9348af3ee6

View File

@ -1,6 +1,6 @@
Name: perl-Error
Version: 0.17029
Release: 1
Release: 2
Epoch: 1
Summary: Error/exception handling in an OO-ish way
License: (GPL+ or Artistic) and MIT
@ -8,7 +8,7 @@ URL: https://metacpan.org/release/Error
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils findutils make git
BuildRequires: coreutils findutils make
BuildRequires: perl-generators perl-interpreter perl(ExtUtils::MakeMaker)
BuildRequires: perl(Carp) perl(Exporter) perl(overload)
@ -37,7 +37,7 @@ Requires: man
Man pages and other related documents for %{name}.
%prep
%autosetup -n Error-%{version} -p1 -S git
%autosetup -n Error-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -62,6 +62,9 @@ make test
%{_mandir}/man3/Error::Simple.3*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.17029-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jan 28 2021 yuanxin <yuanxin24@huawei.com. - 1:0.17029-1
- upgrade version to 0.17029