public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jitka Plesnikova <jplesnik@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Socket] f45: 2.042 bump (rhbz#2517500)
Date: Tue, 18 Aug 2026 10:33:36 GMT	[thread overview]
Message-ID: <178704921622.1.9230826409372066786.rpms-perl-Socket-da5cf2f20362@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Socket
Branch : f45
Commit : da5cf2f203629a160bfdca48b96efab22a980614
Author : Jitka Plesnikova <jplesnik@redhat.com>
Date   : 2026-08-18T12:32:34+02:00
Stats  : +21/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Socket/c/da5cf2f203629a160bfdca48b96efab22a980614?branch=f45

Log:
2.042 bump (rhbz#2517500)

---
diff --git a/.gitignore b/.gitignore
index d34799f..978f5dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,3 +44,4 @@
 /Socket-2.039.tar.gz
 /Socket-2.040.tar.gz
 /Socket-2.041.tar.gz
+/Socket-2.042.tar.gz

diff --git a/Socket-2.042-Fix-skip-count-for-gai_strerror-test.patch b/Socket-2.042-Fix-skip-count-for-gai_strerror-test.patch
new file mode 100644
index 0000000..ab6d178
--- /dev/null
+++ b/Socket-2.042-Fix-skip-count-for-gai_strerror-test.patch
@@ -0,0 +1,11 @@
+--- Socket-2.042/t/getaddrinfo.t.orig	2026-08-18 10:18:18.065825084 +0200
++++ Socket-2.042/t/getaddrinfo.t	2026-08-18 10:23:38.686706687 +0200
+@@ -126,7 +126,7 @@ AI_NUMERICHOST: {
+ # Now check that names with AI_NUMERICHOST fail
+ 
+ SKIP: {
+-    skip "Resolver has no answer for $goodhost", 1 unless gethostbyname( $goodhost );
++    skip "Resolver has no answer for $goodhost", 2 unless gethostbyname( $goodhost );
+ 
+     ( $err, @res ) = getaddrinfo( $goodhost, "ftp", { flags => AI_NUMERICHOST, socktype => SOCK_STREAM } );
+     ok( $err != 0, "\$err != 0 for host=$goodhost/service=ftp/flags=AI_NUMERICHOST/socktype=SOCK_STREAM" );

diff --git a/perl-Socket.spec b/perl-Socket.spec
index c9fb25c..3684c21 100644
--- a/perl-Socket.spec
+++ b/perl-Socket.spec
@@ -1,11 +1,13 @@
 Name:           perl-Socket
 Epoch:          4
-Version:        2.041
-Release:        527%{?dist}
+Version:        2.042
+Release:        1%{?dist}
 Summary:        Networking constants and support functions
 License:        GPL-1.0-or-later OR Artistic-1.0-Perl
 URL:            https://metacpan.org/release/Socket
 Source0:        https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Socket-%{version}.tar.gz
+# Fix skip count for gai_strerror test when DNS is unavailable (CPAN RT#180884)
+Patch0:         Socket-2.042-Fix-skip-count-for-gai_strerror-test.patch
 BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  gcc
@@ -53,6 +55,7 @@ with "%{_libexecdir}/%{name}/test".
 
 %prep
 %setup -q -n Socket-%{version}
+%patch -P0 -p1
 
 # Help file to recognise the Perl scripts
 for F in t/*.t; do
@@ -93,6 +96,9 @@ make test
 %{_libexecdir}/%{name}
 
 %changelog
+* Tue Aug 18 2026 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.042-1
+- 2.042 bump (rhbz#2517500)
+
 * Wed Jul 22 2026 Jitka Plesnikova <jplesnik@redhat.com> - 4:2.041-527
 - Increase release to favour standalone package
 

diff --git a/sources b/sources
index 14b6ce6..c7c074b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (Socket-2.041.tar.gz) = d43d17d5778db96cf7ab72f311d4fa499d40283603115d39e2e471e6d6d4978199d044148ec367bb45a5dc3ccde2702ad47c3c6c6aa01b51f956dacbfd37cbae
+SHA512 (Socket-2.042.tar.gz) = 8af9f76a2650b8d7344dce28bbaec2fbd6270f69daae3c3f7b04219d112c0e6aa2bbd3dd6d8bb012a5ef6aa1331b40361efab0c64a4847f852da46d07af9dd00

                 reply	other threads:[~2026-08-18 10:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178704921622.1.9230826409372066786.rpms-perl-Socket-da5cf2f20362@fedoraproject.org \
    --to=jplesnik@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox