!3 perl-File-HomeDir 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:31:04 +00:00 committed by Gitee
commit 6f39717155

View File

@ -1,12 +1,12 @@
Name: perl-File-HomeDir
Version: 1.006
Release: 1
Release: 2
Summary: A tool to find your home and other directories on any platform
License: GPL+ or Artistic
URL: https://metacpan.org/release/File-HomeDir
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils make git
BuildRequires: coreutils make
BuildRequires: perl-generators perl-interpreter perl(File::Temp) >= 0.19 perl(File::Which) >= 0.05 perl(Test::More) >= 0.90
BuildRequires: perl(:VERSION) >= 5.5.3 perl(ExtUtils::MakeMaker) >= 6.76 perl(Cwd) >= 3.12 perl(File::Path) >= 2.01 perl(File::Spec) >= 3.12
BuildRequires: perl(Config) perl(strict) perl(warnings) perl(base) perl(Carp) perl(Exporter) perl(vars) perl(File::Spec::Functions)
@ -29,7 +29,7 @@ Requires: man
This contains man files for the using of perl-File-HomeDir.
%prep
%autosetup -n File-HomeDir-%{version} -p1 -S git
%autosetup -n File-HomeDir-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@ -51,6 +51,9 @@ make test
%{_mandir}/man3/File*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.006-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Thu Jan 27 2021 yuanxin <yuanxin24@huawei.com> - 1.006-1
- upgrade version to 1.006