!6 perl-Exporter 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-13 02:16:10 +00:00 committed by Gitee
commit 8ce3d2ee95

View File

@ -1,13 +1,13 @@
Name: perl-Exporter
Version: 5.74
Release: 1
Release: 2
Summary: Implements default import method for modules
License: GPL+ or Artistic
URL: https://metacpan.org/release/Exporter
Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/Exporter-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-interpreter perl-generators git
BuildRequires: perl-interpreter perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Carp) >= 1.05 perl(strict) perl(warnings)
BuildRequires: perl(Test::More) perl(vars)
@ -31,7 +31,7 @@ Requires: man
Man pages and other related documents for %{name}.
%prep
%autosetup -n Exporter-%{version} -p1 -S git
%autosetup -n Exporter-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -53,6 +53,9 @@ make test
%{_mandir}/man3/*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 5.74-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Wed Jul 23 2020 xinghe <xinghe1@huawei.com> - 5.74-1
- Type: enhancement
- ID: NA