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