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