2017-12-12 10:16:42 +00:00
|
|
|
# Run optional test
|
2018-04-06 07:27:25 +00:00
|
|
|
%if ! (0%{?rhel})
|
2017-12-12 10:16:42 +00:00
|
|
|
%bcond_without perl_IO_Socket_IP_enables_optional_test
|
2018-04-06 07:27:25 +00:00
|
|
|
%else
|
|
|
|
%bcond_with perl_IO_Socket_IP_enables_optional_test
|
|
|
|
%endif
|
2017-12-12 10:16:42 +00:00
|
|
|
|
2012-02-02 13:50:34 +00:00
|
|
|
Name: perl-IO-Socket-IP
|
2017-03-07 06:40:30 +00:00
|
|
|
Version: 0.39
|
2019-02-01 21:28:23 +00:00
|
|
|
Release: 419%{?dist}
|
2012-02-02 13:50:34 +00:00
|
|
|
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
|
|
|
License: GPL+ or Artistic
|
2018-06-04 12:09:36 +00:00
|
|
|
URL: https://metacpan.org/release/IO-Socket-IP
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
|
2012-02-02 13:50:34 +00:00
|
|
|
BuildArch: noarch
|
2014-11-25 11:02:14 +00:00
|
|
|
# Build
|
2016-07-12 11:56:28 +00:00
|
|
|
BuildRequires: coreutils
|
2016-07-12 11:52:58 +00:00
|
|
|
BuildRequires: findutils
|
|
|
|
BuildRequires: make
|
2017-07-12 12:59:15 +00:00
|
|
|
BuildRequires: perl-interpreter
|
2016-06-24 08:09:33 +00:00
|
|
|
BuildRequires: perl-generators
|
2016-07-12 11:52:58 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2014-11-25 11:02:14 +00:00
|
|
|
# Runtime
|
2012-02-02 13:50:34 +00:00
|
|
|
BuildRequires: perl(base)
|
|
|
|
BuildRequires: perl(Carp)
|
2012-11-15 13:08:56 +00:00
|
|
|
BuildRequires: perl(constant)
|
2013-03-12 14:06:15 +00:00
|
|
|
BuildRequires: perl(Errno)
|
2012-02-02 13:50:34 +00:00
|
|
|
BuildRequires: perl(IO::Socket)
|
2013-03-12 14:06:15 +00:00
|
|
|
BuildRequires: perl(POSIX)
|
2012-06-06 15:53:49 +00:00
|
|
|
BuildRequires: perl(Socket) >= 1.97
|
2016-07-12 11:52:58 +00:00
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
2014-11-25 11:02:14 +00:00
|
|
|
# Tests only
|
|
|
|
BuildRequires: perl(IO::Socket::INET)
|
2012-02-02 13:50:34 +00:00
|
|
|
BuildRequires: perl(Test::More)
|
2017-12-12 10:16:42 +00:00
|
|
|
%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap}
|
2014-12-12 07:55:28 +00:00
|
|
|
# Optional tests only
|
|
|
|
BuildRequires: perl(Socket6)
|
2014-09-18 14:19:38 +00:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
%endif
|
2013-04-29 09:01:08 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
2012-02-02 13:50:34 +00:00
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
%description
|
|
|
|
This module provides a protocol-independent way to use IPv4 and IPv6
|
|
|
|
sockets, as a drop-in replacement for IO::Socket::INET. Most constructor
|
|
|
|
arguments and methods are provided in a backward-compatible way.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n IO-Socket-IP-%{version}
|
2016-07-12 11:56:28 +00:00
|
|
|
chmod -x lib/IO/Socket/IP.pm
|
2012-02-02 13:50:34 +00:00
|
|
|
|
|
|
|
%build
|
2016-07-12 11:52:58 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
2012-02-02 13:50:34 +00:00
|
|
|
|
|
|
|
%install
|
2016-07-12 11:52:58 +00:00
|
|
|
make pure_install DESTDIR=%{buildroot}
|
|
|
|
find %{buildroot} -type f -name .packlist -delete
|
2012-02-02 13:50:34 +00:00
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
%check
|
2012-11-15 13:08:56 +00:00
|
|
|
# Don't do the live test
|
2012-08-22 15:46:15 +00:00
|
|
|
rm -f t/21nonblocking-connect-internet.t
|
2016-07-12 11:52:58 +00:00
|
|
|
make test
|
2012-02-02 13:50:34 +00:00
|
|
|
|
|
|
|
%files
|
2014-11-25 11:02:14 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc Changes examples README
|
2012-02-02 13:50:34 +00:00
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%changelog
|
2019-02-01 21:28:23 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-419
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 17:56:40 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-418
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-30 20:47:07 +00:00
|
|
|
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-417
|
|
|
|
- Perl 5.28 re-rebuild of bootstrapped packages
|
|
|
|
|
2018-06-27 00:17:17 +00:00
|
|
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-416
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2018-02-08 21:59:17 +00:00
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-07-27 04:26:10 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-07 13:25:15 +00:00
|
|
|
* Wed Jun 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-3
|
|
|
|
- Perl 5.26 re-rebuild of bootstrapped packages
|
|
|
|
|
2017-06-03 08:44:58 +00:00
|
|
|
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-2
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-03-07 06:40:30 +00:00
|
|
|
* Tue Mar 07 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-1
|
|
|
|
- 0.39 bump
|
|
|
|
|
2017-02-11 03:36:46 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.38-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-08-09 08:35:29 +00:00
|
|
|
* Tue Aug 09 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.38-1
|
|
|
|
- 0.38 bump
|
|
|
|
|
2016-07-12 11:52:58 +00:00
|
|
|
* Tue Jul 12 2016 Petr Pisar <ppisar@redhat.com> - 0.37-367
|
|
|
|
- Migrate from Module::Build to ExtUtils::MakeMaker
|
2016-07-12 11:56:28 +00:00
|
|
|
- Correct IO/Socket/IP.pm file mode
|
2016-07-12 11:52:58 +00:00
|
|
|
|
2016-05-18 17:06:21 +00:00
|
|
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-366
|
|
|
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
|
|
|
|
2016-05-14 10:20:43 +00:00
|
|
|
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-365
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2016-02-04 14:08:50 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-348
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 03:49:08 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-347
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-10 13:19:48 +00:00
|
|
|
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-346
|
|
|
|
- Perl 5.22 re-rebuild of bootstrapped packages
|
|
|
|
|
2015-06-04 11:35:58 +00:00
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-345
|
|
|
|
- Increase release to favour standalone package
|
|
|
|
|
2015-06-04 09:59:19 +00:00
|
|
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-2
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2015-03-13 12:06:37 +00:00
|
|
|
* Fri Mar 13 2015 Petr Šabata <contyk@redhat.com> - 0.37-1
|
|
|
|
- 0.37 bump
|
|
|
|
|
2015-01-30 09:40:43 +00:00
|
|
|
* Fri Jan 30 2015 Petr Šabata <contyk@redhat.com> - 0.36-1
|
|
|
|
- 0.36 bump
|
|
|
|
- Win32 changes only
|
|
|
|
|
2015-01-05 15:09:48 +00:00
|
|
|
* Mon Jan 05 2015 Petr Šabata <contyk@redhat.com> - 0.35-1
|
|
|
|
- 0.35 bugfix bump
|
|
|
|
|
2014-12-12 07:55:28 +00:00
|
|
|
* Fri Dec 12 2014 Petr Pisar <ppisar@redhat.com> - 0.34-2
|
|
|
|
- Do not build-require non-core Socket6 module when bootstrapping this core
|
|
|
|
module
|
|
|
|
|
2014-12-05 13:35:41 +00:00
|
|
|
* Fri Dec 05 2014 Petr Šabata <contyk@redhat.com> - 0.34-1
|
|
|
|
- 0.34 bump, VMS bugfixes
|
|
|
|
|
2014-11-25 11:02:14 +00:00
|
|
|
* Tue Nov 25 2014 Petr Šabata <contyk@redhat.com> - 0.33-1
|
|
|
|
- 0.33 bump
|
|
|
|
|
2014-09-18 14:19:38 +00:00
|
|
|
* Thu Sep 18 2014 Petr Šabata <contyk@redhat.com> - 0.32-1
|
|
|
|
- 0.32 bump, implement connect timeout
|
|
|
|
|
2014-08-27 16:08:04 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.31-2
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-07-16 12:38:00 +00:00
|
|
|
* Wed Jul 16 2014 Petr Šabata <contyk@redhat.com> - 0.31-1
|
|
|
|
- 0.31 bump
|
|
|
|
|
2014-07-09 07:21:46 +00:00
|
|
|
* Wed Jul 09 2014 Petr Pisar <ppisar@redhat.com> - 0.30-2
|
|
|
|
- Fix multihomed SSL (bug #1116600)
|
|
|
|
|
2014-07-07 11:41:09 +00:00
|
|
|
* Mon Jul 07 2014 Petr Pisar <ppisar@redhat.com> - 0.30-1
|
|
|
|
- 0.30 bump
|
|
|
|
|
2014-06-07 05:42:12 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.29-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-26 11:54:22 +00:00
|
|
|
* Wed Feb 26 2014 Petr Šabata <contyk@redhat.com> - 0.29-1
|
|
|
|
- 0.29 bump
|
|
|
|
|
2014-02-12 15:55:48 +00:00
|
|
|
* Wed Feb 12 2014 Petr Šabata <contyk@redhat.com> - 0.28-1
|
|
|
|
- 0.28 bump
|
|
|
|
|
2014-01-21 12:22:22 +00:00
|
|
|
* Tue Jan 21 2014 Petr Šabata <contyk@redhat.com> - 0.27-1
|
|
|
|
- 0.27 bump, test suite enhancements only
|
|
|
|
|
2014-01-17 11:45:15 +00:00
|
|
|
* Fri Jan 17 2014 Petr Šabata <contyk@redhat.com> - 0.26-1
|
|
|
|
- 0.26 bump
|
|
|
|
|
2013-09-20 11:56:24 +00:00
|
|
|
* Fri Sep 20 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.24-1
|
|
|
|
- 0.24 bump
|
|
|
|
|
2013-09-16 14:16:14 +00:00
|
|
|
* Mon Sep 16 2013 Petr Šabata <contyk@redhat.com> - 0.23-1
|
|
|
|
- 0.23 bump; smarter SO_REUSEPORT tests
|
|
|
|
|
2013-08-03 22:10:24 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-31 07:05:20 +00:00
|
|
|
* Wed Jul 31 2013 Petr Šabata <contyk@redhat.com> - 0.22-1
|
|
|
|
- 0.22 bump
|
|
|
|
- Test suite bugfix release
|
|
|
|
|
2013-07-18 16:09:47 +00:00
|
|
|
* Thu Jul 18 2013 Petr Šabata <contyk@redhat.com> - 0.21-3
|
2013-07-18 16:08:30 +00:00
|
|
|
- Disable the SO_REUSEPORT test; koji builders don't support this feature yet
|
|
|
|
|
2013-07-18 09:36:03 +00:00
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 0.21-2
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-04-29 09:01:08 +00:00
|
|
|
* Mon Apr 29 2013 Petr Šabata <contyk@redhat.com> - 0.21-1
|
|
|
|
- 0.21 bump
|
|
|
|
|
2013-04-17 08:56:59 +00:00
|
|
|
* Wed Apr 17 2013 Petr Šabata <contyk@redhat.com> - 0.20-1
|
|
|
|
- 0.20 bump
|
|
|
|
|
2013-03-12 14:06:15 +00:00
|
|
|
* Tue Mar 12 2013 Petr Šabata <contyk@redhat.com> - 0.19-1
|
|
|
|
- 0.19 bump
|
|
|
|
|
2013-02-14 13:01:35 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-30 11:57:06 +00:00
|
|
|
* Fri Nov 30 2012 Petr Šabata <contyk@redhat.com> - 0.18-1
|
|
|
|
- 0.18 bump
|
|
|
|
|
2012-11-15 13:08:56 +00:00
|
|
|
* Thu Nov 15 2012 Petr Šabata <contyk@redhat.com> - 0.17-2
|
|
|
|
- Fix a typo, sort the deps
|
|
|
|
|
2012-08-22 15:29:50 +00:00
|
|
|
* Wed Aug 22 2012 Petr Šabata <contyk@redhat.com> - 0.17-1
|
|
|
|
- 0.17 bump
|
|
|
|
|
2012-07-20 16:12:45 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-28 12:37:52 +00:00
|
|
|
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 0.16-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-25 09:26:48 +00:00
|
|
|
* Mon Jun 25 2012 Petr Šabata <contyk@redhat.com> - 0.16-1
|
|
|
|
- 0.16 (IO::Socket::INET compatibility enhancement)
|
|
|
|
|
2012-06-21 11:01:21 +00:00
|
|
|
* Thu Jun 21 2012 Petr Šabata <contyk@redhat.com> - 0.15-1
|
|
|
|
- 0.15 bump
|
|
|
|
|
2012-06-19 09:23:04 +00:00
|
|
|
* Tue Jun 19 2012 Petr Šabata <contyk@redhat.com> - 0.14-1
|
|
|
|
- 0.14 bump
|
|
|
|
|
2012-06-11 18:11:10 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 0.11-2
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-06-06 15:53:49 +00:00
|
|
|
* Wed Jun 06 2012 Petr Šabata <contyk@redhat.com> - 0.11-1
|
|
|
|
- 0.11 bump
|
|
|
|
|
2012-05-11 11:09:04 +00:00
|
|
|
* Fri May 11 2012 Petr Šabata <contyk@redhat.com> - 0.10-1
|
|
|
|
- 0.10 bump
|
|
|
|
|
2012-03-14 15:54:11 +00:00
|
|
|
* Wed Mar 14 2012 Petr Šabata <contyk@redhat.com> - 0.09-1
|
|
|
|
- 0.09 bump
|
|
|
|
|
2012-02-02 13:50:34 +00:00
|
|
|
* Fri Jan 27 2012 Petr Šabata <contyk@redhat.com> 0.08-1
|
|
|
|
- Specfile autogenerated by cpanspec 1.78.
|