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

This commit is contained in:
chenyanpanHW 2021-07-30 23:15:29 +08:00
parent 39c85b4039
commit 59d4b9c079
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -1,12 +1,12 @@
Name: perl-File-HomeDir Name: perl-File-HomeDir
Version: 1.006 Version: 1.006
Release: 1 Release: 2
Summary: A tool to find your home and other directories on any platform Summary: A tool to find your home and other directories on any platform
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/File-HomeDir URL: https://metacpan.org/release/File-HomeDir
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-%{version}.tar.gz
BuildArch: noarch 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-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(: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) 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. This contains man files for the using of perl-File-HomeDir.
%prep %prep
%autosetup -n File-HomeDir-%{version} -p1 -S git %autosetup -n File-HomeDir-%{version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
@ -51,6 +51,9 @@ make test
%{_mandir}/man3/File* %{_mandir}/man3/File*
%changelog %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 * Thu Jan 27 2021 yuanxin <yuanxin24@huawei.com> - 1.006-1
- upgrade version to 1.006 - upgrade version to 1.006