Remove not needed Socket6 package in build

There is code in t/15io-socket.t:
...
   my $AF_INET6 = eval { Socket::AF_INET6() } ||
                  eval { require Socket6; Socket6::AF_INET6() };
...

Default is usage of Socket for ipv6 and it's our case.
This commit is contained in:
Michal Josef Špaček 2023-03-24 11:58:36 +01:00
parent 45c59e6454
commit 1a7a09d5be
1 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,7 @@
Name: perl-IO-Socket-IP
Version: 0.41
Release: 491%{?dist}
Release: 492%{?dist}
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/IO-Socket-IP
@ -40,7 +40,6 @@ BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(Test::More)
%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap}
# Optional tests only
BuildRequires: perl(Socket6)
BuildRequires: perl(Test::Pod) >= 1.00
%endif
@ -74,6 +73,9 @@ make test
%{_mandir}/man3/*
%changelog
* Fri Mar 24 2023 Michal Josef Špaček <mspacek@redhat.com> - 0.41-492
- Remove not needed Socket6 package in build
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-491
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild