Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Net-HTTP for openSUSE:Factory 
checked in at 2021-03-24 16:10:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Net-HTTP (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Net-HTTP.new.2401 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Net-HTTP"

Wed Mar 24 16:10:52 2021 rev:24 rq:880563 version:6.21

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Net-HTTP/perl-Net-HTTP.changes      
2021-01-14 15:04:43.746720627 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Net-HTTP.new.2401/perl-Net-HTTP.changes    
2021-03-24 16:10:52.287807994 +0100
@@ -1,0 +2,9 @@
+Fri Mar 19 03:08:03 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 6.21
+   see /usr/share/doc/packages/perl-Net-HTTP/Changes
+
+  6.21      2021-03-18 21:56:42Z
+      - Accept PeerAddr of 0. (GH#72) (trwyant)
+
+-------------------------------------------------------------------

Old:
----
  Net-HTTP-6.20.tar.gz

New:
----
  Net-HTTP-6.21.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Net-HTTP.spec ++++++
--- /var/tmp/diff_new_pack.q4tjmE/_old  2021-03-24 16:10:52.851808586 +0100
+++ /var/tmp/diff_new_pack.q4tjmE/_new  2021-03-24 16:10:52.851808586 +0100
@@ -16,18 +16,16 @@
 #
 
 
+%define cpan_name Net-HTTP
 Name:           perl-Net-HTTP
-Version:        6.20
+Version:        6.21
 Release:        0
-%define cpan_name Net-HTTP
 Summary:        Low-level HTTP connection (client)
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/O/OA/OALDERS/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Compress::Raw::Zlib)
@@ -51,11 +49,11 @@
 doing.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
 
 %check
 make test
@@ -66,7 +64,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes CONTRIBUTORS README.md
 %license LICENSE
 

++++++ Net-HTTP-6.20.tar.gz -> Net-HTTP-6.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/CONTRIBUTORS 
new/Net-HTTP-6.21/CONTRIBUTORS
--- old/Net-HTTP-6.20/CONTRIBUTORS      2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/CONTRIBUTORS      2021-03-18 22:56:54.000000000 +0100
@@ -70,6 +70,7 @@
     * Steve Hay
     * Todd Lipcon
     * Tom Hukins
+    * Tom Wyant
     * Tony Finch
     * Toru Yamaguchi
     * uid39246
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/Changes new/Net-HTTP-6.21/Changes
--- old/Net-HTTP-6.20/Changes   2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/Changes   2021-03-18 22:56:54.000000000 +0100
@@ -1,5 +1,8 @@
 Release history for Net-HTTP
 
+6.21      2021-03-18 21:56:42Z
+    - Accept PeerAddr of 0. (GH#72) (trwyant)
+
 6.20      2021-01-08 16:22:23Z
     - Replace last use of "vars" with "our" (GH#67) (James Raspass)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/META.json new/Net-HTTP-6.21/META.json
--- old/Net-HTTP-6.20/META.json 2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/META.json 2021-03-18 22:56:54.000000000 +0100
@@ -89,10 +89,10 @@
       "x_IRC" : "irc://irc.perl.org/#lwp",
       "x_MailingList" : "mailto:[email protected]";
    },
-   "version" : "6.20",
+   "version" : "6.21",
    "x_Dist_Zilla" : {
       "perl" : {
-         "version" : "5.030003"
+         "version" : "5.030002"
       },
       "plugins" : [
          {
@@ -450,7 +450,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.30.0",
+                  "git_version" : "2.30.1",
                   "repo_root" : "."
                }
             },
@@ -461,7 +461,7 @@
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.30.0",
+                  "git_version" : "2.30.1",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
@@ -559,7 +559,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.30.0",
+                  "git_version" : "2.30.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -576,12 +576,12 @@
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.20",
+                  "tag" : "v6.21",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.30.0",
+                  "git_version" : "2.30.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -632,7 +632,7 @@
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.30.0",
+                  "git_version" : "2.30.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
@@ -652,7 +652,7 @@
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.30.0",
+                  "git_version" : "2.30.1",
                   "repo_root" : "."
                }
             },
@@ -834,6 +834,7 @@
       "Steve Hay <[email protected]>",
       "Todd Lipcon <[email protected]>",
       "Tom Hukins <[email protected]>",
+      "Tom Wyant <[email protected]>",
       "Tony Finch <[email protected]>",
       "Toru Yamaguchi <[email protected]>",
       "uid39246 <uid39246>",
@@ -841,8 +842,8 @@
       "Yuri Karaban <[email protected]>",
       "Zefram <[email protected]>"
    ],
-   "x_generated_by_perl" : "v5.30.3",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
+   "x_generated_by_perl" : "v5.30.2",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
    "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
    "x_static_install" : 1
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/META.yml new/Net-HTTP-6.21/META.yml
--- old/Net-HTTP-6.20/META.yml  2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/META.yml  2021-03-18 22:56:54.000000000 +0100
@@ -39,10 +39,10 @@
   bugtracker: https://github.com/libwww-perl/Net-HTTP/issues
   homepage: https://github.com/libwww-perl/Net-HTTP
   repository: https://github.com/libwww-perl/Net-HTTP.git
-version: '6.20'
+version: '6.21'
 x_Dist_Zilla:
   perl:
-    version: '5.030003'
+    version: '5.030002'
   plugins:
     -
       class: Dist::Zilla::Plugin::MetaResources
@@ -320,7 +320,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.30.0
+          git_version: 2.30.1
           repo_root: .
       name: '@Author::OALDERS/Git::Check'
       version: '2.047'
@@ -328,7 +328,7 @@
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.30.0
+          git_version: 2.30.1
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -404,7 +404,7 @@
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.30.0
+          git_version: 2.30.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -417,11 +417,11 @@
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v6.20
+          tag: v6.21
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.30.0
+          git_version: 2.30.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -459,7 +459,7 @@
             - (?^:^lib/.*\.pm$)
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.30.0
+          git_version: 2.30.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
@@ -473,7 +473,7 @@
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.30.0
+          git_version: 2.30.1
           repo_root: .
       name: '@Author::OALDERS/Git::Push'
       version: '2.047'
@@ -626,13 +626,14 @@
   - 'Steve Hay <[email protected]>'
   - 'Todd Lipcon <[email protected]>'
   - 'Tom Hukins <[email protected]>'
+  - 'Tom Wyant <[email protected]>'
   - 'Tony Finch <[email protected]>'
   - 'Toru Yamaguchi <[email protected]>'
   - 'uid39246 <uid39246>'
   - 'Ville Skytt?? <[email protected]>'
   - 'Yuri Karaban <[email protected]>'
   - 'Zefram <[email protected]>'
-x_generated_by_perl: v5.30.3
+x_generated_by_perl: v5.30.2
 x_serialization_backend: 'YAML::Tiny version 1.73'
 x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
 x_static_install: 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/Makefile.PL 
new/Net-HTTP-6.21/Makefile.PL
--- old/Net-HTTP-6.20/Makefile.PL       2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/Makefile.PL       2021-03-18 22:56:54.000000000 +0100
@@ -34,7 +34,7 @@
     "Socket" => 0,
     "Test::More" => 0
   },
-  "VERSION" => "6.20",
+  "VERSION" => "6.21",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/README.md new/Net-HTTP-6.21/README.md
--- old/Net-HTTP-6.20/README.md 2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/README.md 2021-03-18 22:56:54.000000000 +0100
@@ -4,7 +4,7 @@
 
 # VERSION
 
-version 6.20
+version 6.21
 
 # SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/lib/Net/HTTP/Methods.pm 
new/Net-HTTP-6.21/lib/Net/HTTP/Methods.pm
--- old/Net-HTTP-6.20/lib/Net/HTTP/Methods.pm   2021-01-08 17:22:28.000000000 
+0100
+++ new/Net-HTTP-6.21/lib/Net/HTTP/Methods.pm   2021-03-18 22:56:54.000000000 
+0100
@@ -1,5 +1,5 @@
 package Net::HTTP::Methods;
-our $VERSION = '6.20';
+our $VERSION = '6.21';
 use strict;
 use warnings;
 use URI;
@@ -35,8 +35,14 @@
     die "Listen option not allowed" if $cnf->{Listen};
     my $explicit_host = (exists $cnf->{Host});
     my $host = delete $cnf->{Host};
-    my $peer = $cnf->{PeerAddr} || $cnf->{PeerHost};
-    if (!$peer) {
+    # All this because $cnf->{PeerAddr} = 0 is actually valid.
+    my $peer;
+    for my $key (qw{PeerAddr PeerHost}) {
+       next if !defined($cnf->{$key}) || q{} eq $cnf->{$key};
+       $peer = $cnf->{$key};
+       last;
+    }
+    if (!defined $peer) {
        die "No Host option provided" unless $host;
        $cnf->{PeerAddr} = $peer = $host;
     }
@@ -649,7 +655,7 @@
 
 =head1 VERSION
 
-version 6.20
+version 6.21
 
 =head1 AUTHOR
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/lib/Net/HTTP/NB.pm 
new/Net-HTTP-6.21/lib/Net/HTTP/NB.pm
--- old/Net-HTTP-6.20/lib/Net/HTTP/NB.pm        2021-01-08 17:22:28.000000000 
+0100
+++ new/Net-HTTP-6.21/lib/Net/HTTP/NB.pm        2021-03-18 22:56:54.000000000 
+0100
@@ -1,5 +1,5 @@
 package Net::HTTP::NB;
-our $VERSION = '6.20';
+our $VERSION = '6.21';
 use strict;
 use warnings;
 
@@ -60,7 +60,7 @@
 
 =head1 VERSION
 
-version 6.20
+version 6.21
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/lib/Net/HTTP.pm 
new/Net-HTTP-6.21/lib/Net/HTTP.pm
--- old/Net-HTTP-6.20/lib/Net/HTTP.pm   2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/lib/Net/HTTP.pm   2021-03-18 22:56:54.000000000 +0100
@@ -1,5 +1,5 @@
 package Net::HTTP;
-our $VERSION = '6.20';
+our $VERSION = '6.21';
 use strict;
 use warnings;
 
@@ -50,7 +50,7 @@
 
 =head1 VERSION
 
-version 6.20
+version 6.21
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/lib/Net/HTTPS.pm 
new/Net-HTTP-6.21/lib/Net/HTTPS.pm
--- old/Net-HTTP-6.20/lib/Net/HTTPS.pm  2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/lib/Net/HTTPS.pm  2021-03-18 22:56:54.000000000 +0100
@@ -1,5 +1,5 @@
 package Net::HTTPS;
-our $VERSION = '6.20';
+our $VERSION = '6.21';
 use strict;
 use warnings;
 
@@ -90,7 +90,7 @@
 
 =head1 VERSION
 
-version 6.20
+version 6.21
 
 =head1 DESCRIPTION
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Net-HTTP-6.20/t/http.t new/Net-HTTP-6.21/t/http.t
--- old/Net-HTTP-6.20/t/http.t  2021-01-08 17:22:28.000000000 +0100
+++ new/Net-HTTP-6.21/t/http.t  2021-03-18 22:56:54.000000000 +0100
@@ -2,7 +2,7 @@
 use warnings;
 use Test::More;
 
-plan tests => 37;
+plan tests => 38;
 #use Data::Dump ();
 
 my $CRLF = "\015\012";
@@ -204,3 +204,13 @@
 print "# $@";
 ok($@);
 
+$@ = '';
+eval {
+    $h = HTTP->new(
+       PeerAddr        => 0,
+       PeerPort        => 5000,
+       Proto           => 'tcp',
+    );
+};
+print '# $@ is ', $@ ? $@ : "''\n";
+ok(!$@);

Reply via email to