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

This commit is contained in:
chenyanpanHW 2021-08-02 10:14:53 +08:00
parent d0795c3ee4
commit 0c71e50fb1
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

@ -2,14 +2,14 @@
Name: perl-parent Name: perl-parent
Epoch: 1 Epoch: 1
Version: 0.238 Version: 0.238
Release: 1 Release: 2
Summary: Establish an ISA relationship with base classes at compile time Summary: Establish an ISA relationship with base classes at compile time
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/parent URL: https://metacpan.org/release/parent
Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{perl_package_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/C/CO/CORION/%{perl_package_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: gcc git make BuildRequires: gcc make
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
@ -23,7 +23,7 @@ from those modules at the same time.
%package_help %package_help
%prep %prep
%autosetup -n %{perl_package_name}-%{version} -S git %autosetup -n %{perl_package_name}-%{version} -p1
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
@ -45,6 +45,9 @@ make test
%{_mandir}/man3/parent.3* %{_mandir}/man3/parent.3*
%changelog %changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.238-2
- DESC: delete -S git from %autosetup, and delete BuildRequires git
* Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 1:0.238-1 * Sat Jul 25 2020 zhanzhimin <zhanzhimin@huawei.com> - 1:0.238-1
* Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 1:0.237-4 * Thu Sep 26 2019 shenyangyang<shenyangyang4@huawei.com> - 1:0.237-4