perl-IO-Socket-IP/perl-IO-Socket-IP.spec

310 lines
10 KiB
RPMSpec
Raw Normal View History

# Run optional test
2018-04-06 07:27:25 +00:00
%if ! (0%{?rhel})
%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
2012-02-02 13:50:34 +00:00
Name: perl-IO-Socket-IP
2020-09-16 10:36:38 +00:00
Version: 0.41
Release: 492%{?dist}
2012-02-02 13:50:34 +00:00
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
2022-12-20 16:05:34 +00:00
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/IO-Socket-IP
Source0: https://cpan.metacpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
# IO-Socket-IP-0.41 moved from ExtUtils::MakeMaker to Module::Build.
# It will make problems, because IO::Socket::IP is a dual-lived package and
# needs to be built very early on Perl bootstrap, but Module::Build is not
# a core package and thus not available in the early stage of bootstrapping.
# For this reason, we create Makefile.PL and use it instead of Build.PL.
Source1: Makefile.PL
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
BuildRequires: make
BuildRequires: perl-generators
2020-09-16 10:36:38 +00:00
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
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
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)
%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap}
# Optional tests only
2014-09-18 14:19:38 +00:00
BuildRequires: perl(Test::Pod) >= 1.00
%endif
2012-02-02 13:50:34 +00:00
%{?perl_default_filter}
%description
This module provides a protocol-independent way to use IPv4 and IPv6
2020-09-16 10:36:38 +00:00
sockets, intended as a replacement for IO::Socket::INET. Most constructor
2012-02-02 13:50:34 +00:00
arguments and methods are provided in a backward-compatible way.
%prep
%setup -q -n IO-Socket-IP-%{version}
cp %{SOURCE1} .
2016-07-12 11:56:28 +00:00
chmod -x lib/IO/Socket/IP.pm
2012-02-02 13:50:34 +00:00
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
2012-02-02 13:50:34 +00:00
%install
%{make_install}
2012-02-02 13:50:34 +00:00
%{_fixperms} %{buildroot}/*
%check
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
* 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
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-490
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 03 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-489
- Perl 5.36 re-rebuild of bootstrapped packages
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-488
- Increase release to favour standalone package
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-480
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-479
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon May 24 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-478
- Perl 5.34 re-rebuild of bootstrapped packages
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-477
- Increase release to favour standalone package
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.41-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Sep 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-2
- Create Makefile.PL, use ExtUtils::MakeMaker instead of Module::Build
2020-09-16 10:36:38 +00:00
* Wed Sep 16 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-1
- 0.41 bump
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-458
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jun 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-457
- Perl 5.32 re-rebuild of bootstrapped packages
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-456
- Increase release to favour standalone package
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-441
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 02 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-439
- Perl 5.30 re-rebuild of bootstrapped packages
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-438
- Increase release to favour standalone package
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-419
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-418
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Jun 30 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-417
- Perl 5.28 re-rebuild of bootstrapped packages
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-416
- Increase release to favour standalone package
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.39-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* 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
* 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
* 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
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-366
- Perl 5.24 re-rebuild of bootstrapped packages
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-365
- Increase release to favour standalone package
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.37-348
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* 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
* Wed Jun 10 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.37-346
- Perl 5.22 re-rebuild of bootstrapped packages
* 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
* 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
* 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
* 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
* 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
- 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
* 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
* 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.