From 670a983e0c8068ebac64cee0678abfe3fc4153e9 Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Mar 07 2019 07:44:50 +0000 Subject: 6.37 bump --- diff --git a/.gitignore b/.gitignore index c34200c..0dcec0b 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/libwww-perl-6.19-Accept-proxy-URLs-with-IPv6-host-names.patch b/libwww-perl-6.19-Accept-proxy-URLs-with-IPv6-host-names.patch deleted file mode 100644 index 409e266..0000000 --- a/libwww-perl-6.19-Accept-proxy-URLs-with-IPv6-host-names.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 572538753601755b4b6acace1d445bc8e1cc10c8 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -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 - - - -Signed-off-by: Petr Písař ---- - 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 - diff --git a/perl-libwww-perl.spec b/perl-libwww-perl.spec index 2e64904..54fafbe 100644 --- a/perl-libwww-perl.spec +++ b/perl-libwww-perl.spec @@ -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 - 6.37-1 +- 6.37 bump + * Sat Feb 02 2019 Fedora Release Engineering - 6.36-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 7bf4609..7416622 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libwww-perl-6.36.tar.gz) = 049da6dbd57dbfbceec878c1deb80e9eb3d45c0cc29535eb15804eb5038e0437122cd70ed92ed4313d1f1940cc34baa7a8f367401fb984c0f3688c31adf2c483 +SHA512 (libwww-perl-6.37.tar.gz) = 3d056e7c6b022bf8c9dc980958f40986b97d45293804de408a111da5ba17dfde49271199effa5977b3cab625c481483277a498898e51c284320bb7282638c2dc