delete -S git from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-07-30 23:14:51 +08:00
parent 1858670174
commit 4755a65b06
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

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