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