Compare commits
No commits in common. "rawhide" and "f24" have entirely different histories.
|
@ -25,6 +25,3 @@
|
|||
/IO-Socket-IP-0.35.tar.gz
|
||||
/IO-Socket-IP-0.36.tar.gz
|
||||
/IO-Socket-IP-0.37.tar.gz
|
||||
/IO-Socket-IP-0.38.tar.gz
|
||||
/IO-Socket-IP-0.39.tar.gz
|
||||
/IO-Socket-IP-0.41.tar.gz
|
||||
|
|
26
Makefile.PL
26
Makefile.PL
|
@ -1,26 +0,0 @@
|
|||
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',
|
||||
);
|
|
@ -1,30 +1,17 @@
|
|||
# Run optional test
|
||||
%if ! (0%{?rhel})
|
||||
%bcond_without perl_IO_Socket_IP_enables_optional_test
|
||||
%else
|
||||
%bcond_with perl_IO_Socket_IP_enables_optional_test
|
||||
%endif
|
||||
|
||||
Name: perl-IO-Socket-IP
|
||||
Version: 0.41
|
||||
Release: 490%{?dist}
|
||||
Version: 0.37
|
||||
Release: 348%{?dist}
|
||||
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
||||
License: GPL+ or Artistic
|
||||
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
|
||||
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
|
||||
BuildArch: noarch
|
||||
# Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
|
@ -33,13 +20,11 @@ BuildRequires: perl(Errno)
|
|||
BuildRequires: perl(IO::Socket)
|
||||
BuildRequires: perl(POSIX)
|
||||
BuildRequires: perl(Socket) >= 1.97
|
||||
BuildRequires: perl(strict)
|
||||
buildrequires: perl(warnings)
|
||||
# Tests only
|
||||
BuildRequires: perl(IO::Socket::INET)
|
||||
BuildRequires: perl(Test::More)
|
||||
%if %{with perl_IO_Socket_IP_enables_optional_test} && !%{defined perl_bootstrap}
|
||||
# Optional tests only
|
||||
%if !%{defined perl_bootstrap}
|
||||
BuildRequires: perl(Socket6)
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
%endif
|
||||
|
@ -49,24 +34,24 @@ Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
|
|||
|
||||
%description
|
||||
This module provides a protocol-independent way to use IPv4 and IPv6
|
||||
sockets, intended as a replacement for IO::Socket::INET. Most constructor
|
||||
sockets, as a drop-in 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 NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
perl Build.PL installdirs=vendor
|
||||
./Build
|
||||
|
||||
%install
|
||||
%{make_install}
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
# Don't do the live test
|
||||
rm -f t/21nonblocking-connect-internet.t
|
||||
./Build test
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
@ -75,100 +60,6 @@ make test
|
|||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* Sat Jun 03 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.39-2
|
||||
- Perl 5.26 rebuild
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
- 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue