Compare commits

...

No commits in common. "c8-stream-5.3" and "stream-perl-bootstrap-5.32-rhel-8.9.0" have entirely different histories.

5 changed files with 86 additions and 20 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/IO-Socket-IP-0.39.tar.gz
SOURCES/IO-Socket-IP-0.41.tar.gz
/IO-Socket-IP-0.41.tar.gz

View File

@ -1 +1 @@
4e12fc601a7d71189c4b49c2a72b46bc8f939993 SOURCES/IO-Socket-IP-0.39.tar.gz
0618286bd209c37c7a7eee0f6348d3f122fbe464 IO-Socket-IP-0.41.tar.gz

26
Makefile.PL Normal file
View File

@ -0,0 +1,26 @@
use strict;
use warnings;
use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'IO::Socket::IP',
'VERSION_FROM' => 'lib/IO/Socket/IP.pm',
'ABSTRACT_FROM' => 'lib/IO/Socket/IP.pm',
'PREREQ_PM' => {
'base' => '0',
'Carp' => '0',
'constant' => '0',
'Errno' => '0',
'IO::Socket' => 0,
'POSIX' => '0',
'Socket' => '1.97',
'strict' => '0',
'warnings' => '0',
},
'TEST_REQUIRES' => {
'IO::Socket::INET' => '0',
'Test::More' => '0.88',
},
'INSTALLDIRS' => 'site',
);

View File

@ -6,21 +6,25 @@
%endif
Name: perl-IO-Socket-IP
Version: 0.39
Release: 6%{?dist}
Version: 0.41
Release: 2%{?dist}
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/IO-Socket-IP/
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
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
BuildArch: noarch
# Build
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Runtime
BuildRequires: perl(base)
BuildRequires: perl(Carp)
@ -30,7 +34,7 @@ BuildRequires: perl(IO::Socket)
BuildRequires: perl(POSIX)
BuildRequires: perl(Socket) >= 1.97
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
buildrequires: perl(warnings)
# Tests only
BuildRequires: perl(IO::Socket::INET)
BuildRequires: perl(Test::More)
@ -45,25 +49,23 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
%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
sockets, intended as a 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}
cp %{SOURCE1} .
chmod -x lib/IO/Socket/IP.pm
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%{make_build}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{make_install}
%{_fixperms} %{buildroot}/*
%check
# Don't do the live test
rm -f t/21nonblocking-connect-internet.t
make test
%files
@ -73,8 +75,44 @@ make test
%{_mandir}/man3/*
%changelog
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-6
- Rebuild with enable hardening (bug #1636329)
* Thu Sep 17 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.41-2
- Create Makefile.PL, use ExtUtils::MakeMaker instead of Module::Build
* 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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (IO-Socket-IP-0.41.tar.gz) = f9fed6684ccaae3dcc1429d61211a24c2714af390b04a29e5a1362cfd470efc79305d3cb927d4caeb9e85302f248b2989e18332f8bef8022b427a49807f493fd