6.37 bump
This commit is contained in:
parent
276d041ac1
commit
670a983e0c
1
.gitignore
vendored
1
.gitignore
vendored
@ -29,3 +29,4 @@ libwww-perl-5.834.tar.gz
|
||||
/libwww-perl-6.34.tar.gz
|
||||
/libwww-perl-6.35.tar.gz
|
||||
/libwww-perl-6.36.tar.gz
|
||||
/libwww-perl-6.37.tar.gz
|
||||
|
@ -1,31 +0,0 @@
|
||||
From 572538753601755b4b6acace1d445bc8e1cc10c8 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
|
||||
Date: Thu, 16 Feb 2017 14:00:57 +0100
|
||||
Subject: [PATCH] Accept proxy URLs with IPv6 host names
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
<https://rt.cpan.org/Public/Bug/Display.html?id=94654>
|
||||
|
||||
Signed-off-by: Petr Písař <ppisar@redhat.com>
|
||||
---
|
||||
lib/LWP/UserAgent.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/LWP/UserAgent.pm b/lib/LWP/UserAgent.pm
|
||||
index ea03157..8549808 100644
|
||||
--- a/lib/LWP/UserAgent.pm
|
||||
+++ b/lib/LWP/UserAgent.pm
|
||||
@@ -1039,7 +1039,7 @@ sub proxy
|
||||
my $url = shift;
|
||||
if (defined($url) && length($url)) {
|
||||
Carp::croak("Proxy must be specified as absolute URI; '$url' is not") unless $url =~ /^$URI::scheme_re:/;
|
||||
- Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://\w,;
|
||||
+ Carp::croak("Bad http proxy specification '$url'") if $url =~ /^https?:/ && $url !~ m,^https?://(?:\w|\[),;
|
||||
}
|
||||
$self->{proxy}{$key} = $url;
|
||||
$self->set_my_handler("request_preprepare", \&_need_proxy)
|
||||
--
|
||||
2.7.4
|
||||
|
@ -2,14 +2,12 @@
|
||||
%bcond_without perl_libwww_perl_enables_optional_test
|
||||
|
||||
Name: perl-libwww-perl
|
||||
Version: 6.36
|
||||
Release: 2%{?dist}
|
||||
Version: 6.37
|
||||
Release: 1%{?dist}
|
||||
Summary: A Perl interface to the World-Wide Web
|
||||
License: GPL+ or Artistic
|
||||
URL: https://metacpan.org/release/libwww-perl
|
||||
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/libwww-perl-%{version}.tar.gz
|
||||
# Accept proxy URLs with IPv6 host names, CPAN RT#94654
|
||||
Patch0: libwww-perl-6.19-Accept-proxy-URLs-with-IPv6-host-names.patch
|
||||
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
@ -133,15 +131,14 @@ use and even classes that help you implement simple HTTP servers.
|
||||
|
||||
%prep
|
||||
%setup -q -n libwww-perl-%{version}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
# Install the aliases by default
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --aliases < /dev/null
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 --aliases < /dev/null
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{make_install}
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
@ -159,6 +156,9 @@ make test
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 07 2019 Petr Pisar <ppisar@redhat.com> - 6.37-1
|
||||
- 6.37 bump
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.36-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libwww-perl-6.36.tar.gz) = 049da6dbd57dbfbceec878c1deb80e9eb3d45c0cc29535eb15804eb5038e0437122cd70ed92ed4313d1f1940cc34baa7a8f367401fb984c0f3688c31adf2c483
|
||||
SHA512 (libwww-perl-6.37.tar.gz) = 3d056e7c6b022bf8c9dc980958f40986b97d45293804de408a111da5ba17dfde49271199effa5977b3cab625c481483277a498898e51c284320bb7282638c2dc
|
||||
|
Loading…
Reference in New Issue
Block a user