!2 perl-LWP-Protocol-https delete -Sgit from %autosetup, and delete BuildRequires git

From: @chenyanpanHW
Reviewed-by: @small_leek
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2021-08-20 10:05:56 +00:00 committed by Gitee
commit f5e13823c4

View File

@ -4,7 +4,7 @@
Name: perl-LWP-Protocol-https
Summary: Provides support for using https schemed URLs with LWP
Version: 6.07
Release: 7
Release: 8
License: GPL+ or Artistic
URL: https://metacpan.org/pod/LWP::Protocol::https
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{version}.tar.gz
@ -13,7 +13,7 @@ Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-%{
Patch0: LWP-Protocol-https-6.06-Debian-746576-don-t-disale-verification-if-only-host.patch
Patch1: LWP-Protocol-https-6.06-Debian-746576-fix-test-make-it-workable-for-Crypt-SS.patch
BuildArch: noarch
BuildRequires: perl perl(Test::More) perl-generators perl(ExtUtils::MakeMaker) git
BuildRequires: perl perl(Test::More) perl-generators perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(IO::Socket::SSL) >= 1.54
Requires: perl(Mozilla::CA) >= 20110101
@ -34,7 +34,7 @@ Summary: Help manual for %{name}
The %{name}-help package conatins man manual, CHANGELOG, README, etc
%prep
%autosetup -n %{srcname}-%{version} -p1 -Sgit
%autosetup -n %{srcname}-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -53,5 +53,8 @@ find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_mandir}/man3/*
%changelog
* Mon Aug 02 2021 chenyanpanHW <chenyanpan@huawei.com> - 6.07-8
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Nov 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 6.07-7
- Package init