delete -Sgit from %autosetup, and delete BuildRequires git

This commit is contained in:
chenyanpanHW 2021-08-02 10:15:09 +08:00
parent 283d6453cb
commit a2384ed025
No known key found for this signature in database
GPG Key ID: 6DAA738A86DB45D7

View File

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