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
99Name: perl-IO-Socket-INET6
10- Version: 2.72
11- Release: 19 %{?dist }
10+ Version: 2.73
11+ Release: 1 %{?dist }
1212Summary: 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
1414URL: 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
1620BuildArch: noarch
1721# Module Build
18- BuildRequires: perl-interpreter
22+ BuildRequires: coreutils
23+ BuildRequires: findutils
24+ BuildRequires: make
1925BuildRequires: perl-generators
26+ BuildRequires: perl-interpreter
2027BuildRequires: perl(ExtUtils::MakeMaker)
2128# Module Runtime
2229BuildRequires: perl(Carp)
@@ -37,23 +44,23 @@ BuildRequires: perl(Test::Pod) >= 1.14
3744BuildRequires: perl(Test::Pod::Coverage) >= 1.04
3845BuildRequires: 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
4451Perl 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
5057perl Makefile.PL INSTALLDIRS=vendor
5158make %{?_smp_mflags }
5259
5360%install
5461make 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
5966make 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
0 commit comments