Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package perl-Furl for openSUSE:Factory checked in at 2021-05-20 19:25:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Furl (Old) and /work/SRC/openSUSE:Factory/.perl-Furl.new.2988 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Furl" Thu May 20 19:25:27 2021 rev:3 rq:894572 version:3.14 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Furl/perl-Furl.changes 2019-07-24 20:37:47.566559225 +0200 +++ /work/SRC/openSUSE:Factory/.perl-Furl.new.2988/perl-Furl.changes 2021-05-20 19:25:57.829720162 +0200 @@ -1,0 +2,14 @@ +Fri May 14 14:02:02 UTC 2021 - Tina M??ller <[email protected]> + +- Add 0001-Remove-use-of-Mozilla-CA.patch patch to cpanspec.yml + +------------------------------------------------------------------- +Fri May 14 03:08:18 UTC 2021 - Tina M??ller <[email protected]> + +- updated to 3.14 + see /usr/share/doc/packages/perl-Furl/Changes + + 3.14 2021-05-13T05:30:22Z + - Support 308 HTTP status code + +------------------------------------------------------------------- Old: ---- Furl-3.13.tar.gz New: ---- Furl-3.14.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Furl.spec ++++++ --- /var/tmp/diff_new_pack.jdhCfr/_old 2021-05-20 19:25:58.337718079 +0200 +++ /var/tmp/diff_new_pack.jdhCfr/_new 2021-05-20 19:25:58.341718063 +0200 @@ -1,7 +1,7 @@ # # spec file for package perl-Furl # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,30 +16,29 @@ # +%define cpan_name Furl Name: perl-Furl -Version: 3.13 +Version: 3.14 Release: 0 -%define cpan_name Furl Summary: Lightning-fast URL fetcher License: Artistic-1.0 OR GPL-1.0-or-later -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Furl/ -Source0: https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/S/SY/SYOHEX/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -# PATCH-FIX-OPENCSUSE 0001-Remove-use-of-Mozilla-CA.patch -- rely on system-wide certificates Patch0: 0001-Remove-use-of-Mozilla-CA.patch BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Class::Accessor::Lite) BuildRequires: perl(HTTP::Parser::XS) >= 0.11 BuildRequires: perl(Module::Build::Tiny) >= 0.035 +#BuildRequires: perl(Mozilla::CA) BuildRequires: perl(Test::More) >= 0.96 BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::TCP) >= 2.11 Requires: perl(Class::Accessor::Lite) Requires: perl(HTTP::Parser::XS) >= 0.11 +#Requires: perl(Mozilla::CA) Recommends: perl(Compress::Raw::Zlib) Recommends: perl(HTTP::CookieJar) Recommends: perl(IO::Socket::SSL) @@ -52,11 +51,10 @@ complex for weekend hacking. Furl resolves these issues. Enjoy it! %prep -%setup -q -n %{cpan_name}-%{version} -%autopatch -p1 +%autosetup -n %{cpan_name}-%{version} -p1 %build -%{__perl} Build.PL --installdirs=vendor +perl Build.PL --installdirs=vendor ./Build build --flags=%{?_smp_mflags} %check @@ -67,7 +65,6 @@ %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes example README.md TODO %license LICENSE ++++++ Furl-3.13.tar.gz -> Furl-3.14.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/Changes new/Furl-3.14/Changes --- old/Furl-3.13/Changes 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/Changes 2021-05-13 07:30:23.000000000 +0200 @@ -1,5 +1,8 @@ Revision history for Perl module Furl +3.14 2021-05-13T05:30:22Z + - Support 308 HTTP status code + 3.13 2017-09-19T06:31:34Z - Fixed test code(skaji++) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/META.json new/Furl-3.14/META.json --- old/Furl-3.13/META.json 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/META.json 2021-05-13 07:30:23.000000000 +0200 @@ -4,7 +4,7 @@ "Tokuhiro Matsuno <[email protected]>" ], "dynamic_config" : 0, - "generated_by" : "Minilla/v3.0.9", + "generated_by" : "Minilla/v3.1.12", "license" : [ "perl_5" ], @@ -35,7 +35,7 @@ "requires" : { "Test::CPAN::Meta" : "0", "Test::MinimumVersion::Fast" : "0.04", - "Test::PAUSE::Permissions" : "0.04", + "Test::PAUSE::Permissions" : "0.07", "Test::Pod" : "1.41", "Test::Spellunker" : "v0.2.7" }, @@ -109,14 +109,14 @@ "provides" : { "Furl" : { "file" : "lib/Furl.pm", - "version" : "3.13" + "version" : "3.14" }, "Furl::ConnectionCache" : { "file" : "lib/Furl/ConnectionCache.pm" }, "Furl::HTTP" : { "file" : "lib/Furl/HTTP.pm", - "version" : "3.13" + "version" : "3.14" }, "Furl::Headers" : { "file" : "lib/Furl/Headers.pm" @@ -142,32 +142,36 @@ "web" : "https://github.com/tokuhirom/Furl" } }, - "version" : "3.13", + "version" : "3.14", "x_contributors" : [ - "Keiji, Yoshimi <[email protected]>", - "Fuji, Goro <[email protected]>", - "lestrrat <[email protected]>", "Audrey Tang <[email protected]>", + "Breno G. de Oliveira <[email protected]>", + "Debabrata Deka <[email protected]>", "Fuji Goro <[email protected]>", "Fuji, Goro <[email protected]>", - "s-aska <[email protected]>", - "ikasam_a <[email protected]>", - "xaicron <[email protected]>", - "Neil Bowers <[email protected]>", - "Toshio Ito <[email protected]>", - "bayashi <[email protected]>", - "Masahiro Nagano <[email protected]>", + "Fuji, Goro <[email protected]>", + "Graham Ollis <[email protected]>", "HIROSE Masaaki <[email protected]>", - "Kazuho Oku <[email protected]>", "Jari Salmela <[email protected]>", - "tarao <[email protected]>", - "kimoto <[email protected]>", - "Breno G. de Oliveira <[email protected]>", "Jiro Nishiguchi <[email protected]>", + "Kazuho Oku <[email protected]>", + "Keiji, Yoshimi <[email protected]>", + "Masahiro Nagano <[email protected]>", + "Neil Bowers <[email protected]>", + "Shohei YOSHIDA <[email protected]>", + "Shoichi Kaji <[email protected]>", + "Toshio Ito <[email protected]>", "Yasuhiro Matsumoto <[email protected]>", - "Syohei YOSHIDA <[email protected]>", + "bayashi <[email protected]>", + "ikasam_a <[email protected]>", + "itchyny <[email protected]>", + "kimoto <[email protected]>", "ktat <[email protected]>", - "Shoichi Kaji <[email protected]>" + "lestrrat <[email protected]>", + "s-aska <[email protected]>", + "tarao <[email protected]>", + "xaicron <[email protected]>" ], - "x_serialization_backend" : "JSON::PP version 2.27400" + "x_serialization_backend" : "JSON::PP version 4.06", + "x_static_install" : 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/META.yml new/Furl-3.14/META.yml --- old/Furl-3.13/META.yml 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/META.yml 2021-05-13 07:30:23.000000000 +0200 @@ -10,7 +10,7 @@ configure_requires: Module::Build::Tiny: '0.035' dynamic_config: 0 -generated_by: 'Minilla/v3.0.9, CPAN::Meta::Converter version 2.150010' +generated_by: 'Minilla/v3.1.12, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -29,12 +29,12 @@ provides: Furl: file: lib/Furl.pm - version: '3.13' + version: '3.14' Furl::ConnectionCache: file: lib/Furl/ConnectionCache.pm Furl::HTTP: file: lib/Furl/HTTP.pm - version: '3.13' + version: '3.14' Furl::Headers: file: lib/Furl/Headers.pm Furl::Request: @@ -62,30 +62,34 @@ bugtracker: https://github.com/tokuhirom/Furl/issues homepage: https://github.com/tokuhirom/Furl repository: git://github.com/tokuhirom/Furl.git -version: '3.13' +version: '3.14' x_contributors: - - 'Keiji, Yoshimi <[email protected]>' - - 'Fuji, Goro <[email protected]>' - - 'lestrrat <[email protected]>' - 'Audrey Tang <[email protected]>' + - 'Breno G. de Oliveira <[email protected]>' + - 'Debabrata Deka <[email protected]>' - 'Fuji Goro <[email protected]>' - 'Fuji, Goro <[email protected]>' - - 's-aska <[email protected]>' - - 'ikasam_a <[email protected]>' - - 'xaicron <[email protected]>' - - 'Neil Bowers <[email protected]>' - - 'Toshio Ito <[email protected]>' - - 'bayashi <[email protected]>' - - 'Masahiro Nagano <[email protected]>' + - 'Fuji, Goro <[email protected]>' + - 'Graham Ollis <[email protected]>' - 'HIROSE Masaaki <[email protected]>' - - 'Kazuho Oku <[email protected]>' - 'Jari Salmela <[email protected]>' - - 'tarao <[email protected]>' - - 'kimoto <[email protected]>' - - 'Breno G. de Oliveira <[email protected]>' - 'Jiro Nishiguchi <[email protected]>' + - 'Kazuho Oku <[email protected]>' + - 'Keiji, Yoshimi <[email protected]>' + - 'Masahiro Nagano <[email protected]>' + - 'Neil Bowers <[email protected]>' + - 'Shohei YOSHIDA <[email protected]>' + - 'Shoichi Kaji <[email protected]>' + - 'Toshio Ito <[email protected]>' - 'Yasuhiro Matsumoto <[email protected]>' - - 'Syohei YOSHIDA <[email protected]>' + - 'bayashi <[email protected]>' + - 'ikasam_a <[email protected]>' + - 'itchyny <[email protected]>' + - 'kimoto <[email protected]>' - 'ktat <[email protected]>' - - 'Shoichi Kaji <[email protected]>' + - 'lestrrat <[email protected]>' + - 's-aska <[email protected]>' + - 'tarao <[email protected]>' + - 'xaicron <[email protected]>' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' +x_static_install: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/README.md new/Furl-3.14/README.md --- old/Furl-3.13/README.md 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/README.md 2021-05-13 07:30:23.000000000 +0200 @@ -48,7 +48,7 @@ - max\_redirects :Int = 7 - capture\_request :Bool = false - If this parameter is true, [Furl::HTTP](https://metacpan.org/pod/Furl::HTTP) captures raw request string. + If this parameter is true, [Furl::HTTP](https://metacpan.org/pod/Furl%3A%3AHTTP) captures raw request string. You can get it by `$res->captured_req_headers` and `$res->captured_req_content`. - proxy :Str @@ -64,7 +64,7 @@ ### `$furl->request([$request,] %args) :Furl::Response` -Sends an HTTP request to a specified URL and returns a instance of [Furl::Response](https://metacpan.org/pod/Furl::Response). +Sends an HTTP request to a specified URL and returns a instance of [Furl::Response](https://metacpan.org/pod/Furl%3A%3AResponse). _%args_ might be: @@ -149,11 +149,11 @@ # TIPS -- [IO::Socket::SSL](https://metacpan.org/pod/IO::Socket::SSL) preloading +- [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL) preloading - Furl interprets the `timoeut` argument as the maximum time the module is permitted to spend before returning an error. + Furl interprets the `timeout` argument as the maximum time the module is permitted to spend before returning an error. - The module also lazy-loads [IO::Socket::SSL](https://metacpan.org/pod/IO::Socket::SSL) when an HTTPS request is being issued for the first time. Loading the module usually takes ~0.1 seconds. + The module also lazy-loads [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL) when an HTTPS request is being issued for the first time. Loading the module usually takes ~0.1 seconds. The time spent for loading the SSL module may become an issue in case you want to impose a very small timeout value for connection establishment. In such case, users are advised to preload the SSL module explicitly. @@ -169,12 +169,12 @@ - I need more speed. - See [Furl::HTTP](https://metacpan.org/pod/Furl::HTTP), which provides the low level interface of [Furl](https://metacpan.org/pod/Furl). - It is faster than `Furl.pm` since [Furl::HTTP](https://metacpan.org/pod/Furl::HTTP) does not create response objects. + See [Furl::HTTP](https://metacpan.org/pod/Furl%3A%3AHTTP), which provides the low level interface of [Furl](https://metacpan.org/pod/Furl). + It is faster than `Furl.pm` since [Furl::HTTP](https://metacpan.org/pod/Furl%3A%3AHTTP) does not create response objects. - How do you use cookie\_jar? - Furl does not directly support the cookie\_jar option available in LWP. You can use [HTTP::Cookies](https://metacpan.org/pod/HTTP::Cookies), [HTTP::Request](https://metacpan.org/pod/HTTP::Request), [HTTP::Response](https://metacpan.org/pod/HTTP::Response) like following. + Furl does not directly support the cookie\_jar option available in LWP. You can use [HTTP::Cookies](https://metacpan.org/pod/HTTP%3A%3ACookies), [HTTP::Request](https://metacpan.org/pod/HTTP%3A%3ARequest), [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) like following. my $f = Furl->new(); my $cookies = HTTP::Cookies->new(); @@ -263,7 +263,7 @@ }, ); - See [IO::Socket::SSL](https://metacpan.org/pod/IO::Socket::SSL) for details. + See [IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL) for details. # AUTHOR @@ -291,11 +291,11 @@ [LWP](https://metacpan.org/pod/LWP) -[IO::Socket::SSL](https://metacpan.org/pod/IO::Socket::SSL) +[IO::Socket::SSL](https://metacpan.org/pod/IO%3A%3ASocket%3A%3ASSL) -[Furl::HTTP](https://metacpan.org/pod/Furl::HTTP) +[Furl::HTTP](https://metacpan.org/pod/Furl%3A%3AHTTP) -[Furl::Response](https://metacpan.org/pod/Furl::Response) +[Furl::Response](https://metacpan.org/pod/Furl%3A%3AResponse) # LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/lib/Furl/HTTP.pm new/Furl-3.14/lib/Furl/HTTP.pm --- old/Furl-3.13/lib/Furl/HTTP.pm 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/lib/Furl/HTTP.pm 2021-05-13 07:30:23.000000000 +0200 @@ -4,7 +4,7 @@ use base qw/Exporter/; use 5.008001; -our $VERSION = '3.13'; +our $VERSION = '3.14'; use Carp (); use Furl::ConnectionCache; @@ -517,7 +517,7 @@ my $do_redirect = undef; if ($special_headers->{location}) { $max_redirects = defined($args{max_redirects}) ? $args{max_redirects} : $self->{max_redirects}; - $do_redirect = $max_redirects && $res_status =~ /^30[1237]$/; + $do_redirect = $max_redirects && $res_status =~ /^30[12378]$/; } my $res_content = ''; @@ -612,10 +612,11 @@ # response, performing a GET on the Location field-value regardless # of the original request method. The status codes 303 and 307 have # been added for servers that wish to make unambiguously clear which - # kind of reaction is expected of the client. + # kind of reaction is expected of the client. Also, 308 was introduced + # to avoid the ambiguity of 301. return $self->request( @_, - method => ($res_status eq '301' or $res_status eq '307') ? $method : 'GET', + method => $res_status =~ /^30[178]$/ ? $method : 'GET', url => $location, max_redirects => $max_redirects - 1, ); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/lib/Furl.pm new/Furl-3.14/lib/Furl.pm --- old/Furl-3.13/lib/Furl.pm 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/lib/Furl.pm 2021-05-13 07:30:23.000000000 +0200 @@ -6,7 +6,7 @@ use Furl::Request; use Furl::Response; use Carp (); -our $VERSION = '3.13'; +our $VERSION = '3.14'; use 5.008001; @@ -301,7 +301,7 @@ =item L<IO::Socket::SSL> preloading -Furl interprets the C<timoeut> argument as the maximum time the module is permitted to spend before returning an error. +Furl interprets the C<timeout> argument as the maximum time the module is permitted to spend before returning an error. The module also lazy-loads L<IO::Socket::SSL> when an HTTPS request is being issued for the first time. Loading the module usually takes ~0.1 seconds. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/t/100_low/03_redirect.t new/Furl-3.14/t/100_low/03_redirect.t --- old/Furl-3.13/t/100_low/03_redirect.t 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/t/100_low/03_redirect.t 2021-05-13 07:30:23.000000000 +0200 @@ -66,6 +66,10 @@ ( undef, undef, undef, undef, $content ) = $furl->post("http://127.0.0.1:$port/307", [], ""); is $content, 'POST', 'POST into 307 results in a POST'; + + ( undef, undef, undef, undef, $content ) = + $furl->post("http://127.0.0.1:$port/308", [], ""); + is $content, 'POST', 'POST into 308 results in a POST'; }; done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/xt/200_online/01_idn.t new/Furl-3.14/xt/200_online/01_idn.t --- old/Furl-3.13/xt/200_online/01_idn.t 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/xt/200_online/01_idn.t 2021-05-13 07:30:23.000000000 +0200 @@ -1,6 +1,8 @@ use strict; use warnings; use utf8; +use FindBin; +use lib "$FindBin::Bin/../.."; use t::Util; use Test::More; use Furl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/xt/200_online/02_google.t new/Furl-3.14/xt/200_online/02_google.t --- old/Furl-3.13/xt/200_online/02_google.t 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/xt/200_online/02_google.t 2021-05-13 07:30:23.000000000 +0200 @@ -1,6 +1,8 @@ use strict; use warnings; use utf8; +use FindBin; +use lib "$FindBin::Bin/../.."; use t::Util; use Test::More; use Furl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/xt/200_online/03_yahoo_com.t new/Furl-3.14/xt/200_online/03_yahoo_com.t --- old/Furl-3.13/xt/200_online/03_yahoo_com.t 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/xt/200_online/03_yahoo_com.t 2021-05-13 07:30:23.000000000 +0200 @@ -1,6 +1,8 @@ use strict; use warnings; use utf8; +use FindBin; +use lib "$FindBin::Bin/../.."; use t::Util; use Test::More; use Furl; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Furl-3.13/xt/200_online/04_ssl.t new/Furl-3.14/xt/200_online/04_ssl.t --- old/Furl-3.13/xt/200_online/04_ssl.t 2017-09-19 08:33:27.000000000 +0200 +++ new/Furl-3.14/xt/200_online/04_ssl.t 2021-05-13 07:30:23.000000000 +0200 @@ -5,6 +5,8 @@ use Test::Requires qw(Plack::Request HTTP::Body), qw(IO::Socket::SSL); use Furl; use IO::Socket::SSL; +use FindBin; +use lib "$FindBin::Bin/../.."; use t::Util; # this test moved to xt/ since mixi's ssl sucks. ++++++ cpanspec.yml ++++++ --- /var/tmp/diff_new_pack.jdhCfr/_old 2021-05-20 19:25:58.441717652 +0200 +++ /var/tmp/diff_new_pack.jdhCfr/_new 2021-05-20 19:25:58.445717636 +0200 @@ -4,9 +4,8 @@ #sources: # - source1 # - source2 -#patches: -# foo.patch: -p1 -# bar.patch: +patches: + 0001-Remove-use-of-Mozilla-CA.patch: -p1 #preamble: |- # BuildRequires: gcc-c++ #post_prep: |- @@ -18,3 +17,4 @@ #skip_noarch: 1 #custom_build: - #./Build build flags=%{?_smp_mflags} --myflag +ignore_requires: Mozilla::CA
