Skip to content

Commit 4f27410

Browse files
authored
Upgrade: perl-IO-Socket-INET6 version to 2.73 (#13319)
1 parent ea0ee67 commit 4f27410

5 files changed

Lines changed: 48 additions & 14 deletions
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
diff -ru IO-Socket-INET6-2.72.orig/t/io_multihomed6.t IO-Socket-INET6-2.72/t/io_multihomed6.t
2+
--- IO-Socket-INET6-2.72.orig/t/io_multihomed6.t 2021-05-19 13:13:17.967244890 +0200
3+
+++ IO-Socket-INET6-2.72/t/io_multihomed6.t 2021-05-19 13:14:36.633223816 +0200
4+
@@ -103,6 +103,7 @@
5+
push @srv,
6+
IO::Socket::INET6->new(
7+
Listen => 2,
8+
+ ReuseAddr => 1,
9+
LocalAddr => $addr,
10+
LocalPort => $port,
11+
) || die "listen on $addr port $port: $!";
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff -ru IO-Socket-INET6-2.72.orig/t/io_multihomed6.t IO-Socket-INET6-2.72/t/io_multihomed6.t
2+
--- IO-Socket-INET6-2.72.orig/t/io_multihomed6.t 2014-01-31 11:18:01.000000000 +0100
3+
+++ IO-Socket-INET6-2.72/t/io_multihomed6.t 2021-05-18 16:56:02.337243627 +0200
4+
@@ -105,7 +105,7 @@
5+
Listen => 2,
6+
LocalAddr => $addr,
7+
LocalPort => $port,
8+
- ) or die "listen on $addr port $port: $!";
9+
+ ) || die "listen on $addr port $port: $!";
10+
$port ||= $srv[-1]->sockport;
11+
}
12+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"perl-IO-Socket-INET6-2.72.tar.gz": "85e020fa179284125fc1d08e60a9022af3ec1271077fe14b133c1785cdbf1ebb"
3+
"perl-IO-Socket-INET6-2.73.tar.gz": "b6da746853253d5b4ac43191b4f69a4719595ee13a7ca676a8054cf36e6d16bb"
44
}
55
}

SPECS-EXTENDED/perl-IO-Socket-INET6/perl-IO-Socket-INET6.spec

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,29 @@
1-
Vendor: Microsoft Corporation
2-
Distribution: Azure Linux
31
%if ! (0%{?rhel})
42
%{bcond_without perl_IO_Socket_INET6_enables_optional_test}
53
%else
64
%{bcond_with perl_IO_Socket_INET6_enables_optional_test}
75
%endif
86

7+
Vendor: Microsoft Corporation
8+
Distribution: Azure Linux
99
Name: perl-IO-Socket-INET6
10-
Version: 2.72
11-
Release: 19%{?dist}
10+
Version: 2.73
11+
Release: 1%{?dist}
1212
Summary: Perl Object interface for AF_INET|AF_INET6 domain sockets
13-
License: GPL+ or Artistic
13+
License: GPL-1.0-or-later OR Artistic-1.0-Perl
1414
URL: https://metacpan.org/release/IO-Socket-INET6
15-
Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-%{version}.tar.gz#/perl-IO-Socket-INET6-%{version}.tar.gz
15+
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-INET6-%{version}.tar.gz#/%{name}-%{version}.tar.gz
16+
# Fix bad code in test. Original code hides error, related to BZ#1207174
17+
Patch0: IO-Socket-INET6-2.72-fix_die_in_test.patch
18+
# Fix random test error in binding to socket BZ#1207174
19+
Patch1: IO-Socket-INET6-2.72-bz1207174-fix_random_test_error.patch
1620
BuildArch: noarch
1721
# Module Build
18-
BuildRequires: perl-interpreter
22+
BuildRequires: coreutils
23+
BuildRequires: findutils
24+
BuildRequires: make
1925
BuildRequires: perl-generators
26+
BuildRequires: perl-interpreter
2027
BuildRequires: perl(ExtUtils::MakeMaker)
2128
# Module Runtime
2229
BuildRequires: perl(Carp)
@@ -37,23 +44,23 @@ BuildRequires: perl(Test::Pod) >= 1.14
3744
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
3845
BuildRequires: perl(Test::TrailingSpace)
3946
%endif
47+
BuildRequires: iana-etc
4048
# Runtime
41-
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
4249

4350
%description
4451
Perl Object interface for AF_INET|AF_INET6 domain sockets.
4552

4653
%prep
47-
%setup -q -n IO-Socket-INET6-%{version}
54+
%autosetup -n IO-Socket-INET6-%{version} -p1
4855

4956
%build
5057
perl Makefile.PL INSTALLDIRS=vendor
5158
make %{?_smp_mflags}
5259

5360
%install
5461
make pure_install DESTDIR=%{buildroot}
55-
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
56-
%{_fixperms} %{buildroot}
62+
find %{buildroot} -type f -name .packlist -delete
63+
%{_fixperms} -c %{buildroot}
5764

5865
%check
5966
make test
@@ -65,6 +72,10 @@ make test
6572
%{_mandir}/man3/IO::Socket::INET6.3*
6673

6774
%changelog
75+
* Wed Apr 09 2025 Archana Shettigar <v-shettigara@microsoft.com> - 2.73-1
76+
- Upgrade to 2.73 as per Fedora 41 (license: MIT).
77+
- License verified
78+
6879
* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 2.72-19
6980
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
7081

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18193,8 +18193,8 @@
1819318193
"type": "other",
1819418194
"other": {
1819518195
"name": "perl-IO-Socket-INET6",
18196-
"version": "2.72",
18197-
"downloadUrl": "https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-2.72.tar.gz"
18196+
"version": "2.73",
18197+
"downloadUrl": "https://cpan.metacpan.org/modules/by-module/IO/IO-Socket-INET6-2.73.tar.gz"
1819818198
}
1819918199
}
1820018200
},

0 commit comments

Comments
 (0)