forked from pool/perl-LWP-Protocol-https
Accepting request 1103525 from devel:languages:perl:autoupdate
- new version format, see https://github.com/openSUSE/cpanspec/issues/47 - Remove CVE-2014-3230.patch, upstream was fixed. CVE-2014-3230, Debian #746576 - Update LWP-Protocol-https-6.09-systemca.diff - updated to 6.11 see /usr/share/doc/packages/perl-LWP-Protocol-https/Changes 6.11 2023-07-09 15:10:30Z - Remove Authority section from dist.ini (GH#64) (Olaf Alders) - Add very basic diagnostic information via test (GH#73) (Olaf Alders) - CVE-2014-3230 - don't disable verification if only hostnames should not (GH#14) (Steffen Ullrich) - Make explicit requirement of Mozilla::CA obsolete (GH#72) (Steffen Ullrich and Olaf Alders) - Remove _in_san and _cn_match. Empty out the _check_sock hook (GH#71) (Chase Whitener) - Use warnings (GH#69) (Pete Houston) OBS-URL: https://build.opensuse.org/request/show/1103525 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-LWP-Protocol-https?expand=0&rev=21
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-LWP-Protocol-https
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,35 +16,35 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-LWP-Protocol-https
|
||||
Version: 6.10
|
||||
Release: 0
|
||||
%define cpan_name LWP-Protocol-https
|
||||
Summary: Provide https support for LWP::UserAgent
|
||||
Name: perl-LWP-Protocol-https
|
||||
Version: 6.110.0
|
||||
Release: 0
|
||||
%define cpan_version 6.11
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Summary: Provide https support for LWP::UserAgent
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{cpan_version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
Patch0: %{cpan_name}-6.09-systemca.diff
|
||||
Patch1: CVE-2014-3230.patch
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.54
|
||||
BuildRequires: perl(IO::Socket::SSL) >= 1.970
|
||||
BuildRequires: perl(IO::Socket::SSL::Utils)
|
||||
BuildRequires: perl(LWP::Protocol::http)
|
||||
BuildRequires: perl(LWP::UserAgent) >= 6.06
|
||||
#BuildRequires: perl(Mozilla::CA) >= 20180117
|
||||
BuildRequires: perl(Net::HTTPS) >= 6
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(Test::Needs) >= 0.002010
|
||||
BuildRequires: perl(Test::RequiresInternet)
|
||||
Requires: perl(IO::Socket::SSL) >= 1.54
|
||||
Requires: perl(IO::Socket::SSL) >= 1.970
|
||||
Requires: perl(LWP::Protocol::http)
|
||||
Requires: perl(LWP::UserAgent) >= 6.06
|
||||
#Requires: perl(Mozilla::CA) >= 20180117
|
||||
Requires: perl(Net::HTTPS) >= 6
|
||||
Provides: perl(LWP::Protocol::https) = 6.110.0
|
||||
Provides: perl(LWP::Protocol::https::Socket) = 6.110.0
|
||||
%define __perllib_provides /bin/true
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -66,13 +66,11 @@ their dependency on LWP::Protocol::https and will no longer need to know
|
||||
what underlying modules to install.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -83,7 +81,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes CONTRIBUTING.md
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user