Disable the SO_REUSEPORT test; koji builders don't support this feature yet
This commit is contained in:
parent
7fe63abe7e
commit
15f3e4b4da
12
IO-Socket-IP-so_reuseport.patch
Normal file
12
IO-Socket-IP-so_reuseport.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/t/11sockopts.t b/t/11sockopts.t
|
||||||
|
index 02f733c..e11051a 100644
|
||||||
|
--- a/t/11sockopts.t
|
||||||
|
+++ b/t/11sockopts.t
|
||||||
|
@@ -28,6 +28,7 @@ TODO: {
|
||||||
|
SKIP: {
|
||||||
|
# Some OSes don't implement SO_REUSEPORT
|
||||||
|
skip "No SO_REUSEPORT", 1 unless defined eval { SO_REUSEPORT };
|
||||||
|
+ skip "Koji builders don't support SO_REUSEPORT", 1;
|
||||||
|
|
||||||
|
my $sock = IO::Socket::IP->new(
|
||||||
|
LocalHost => "127.0.0.1",
|
@ -1,11 +1,12 @@
|
|||||||
Name: perl-IO-Socket-IP
|
Name: perl-IO-Socket-IP
|
||||||
Version: 0.21
|
Version: 0.21
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
Summary: Drop-in replacement for IO::Socket::INET supporting both IPv4 and IPv6
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/IO-Socket-IP/
|
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
|
Source0: http://www.cpan.org/authors/id/P/PE/PEVANS/IO-Socket-IP-%{version}.tar.gz
|
||||||
|
Patch0: IO-Socket-IP-so_reuseport.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
@ -33,6 +34,7 @@ arguments and methods are provided in a backward-compatible way.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n IO-Socket-IP-%{version}
|
%setup -q -n IO-Socket-IP-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
perl Build.PL installdirs=vendor
|
||||||
@ -53,6 +55,9 @@ rm -f t/21nonblocking-connect-internet.t
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 18 2013 Petr Šabata <contyk@redhat.com> - 0.21-2
|
||||||
|
- Disable the SO_REUSEPORT test; koji builders don't support this feature yet
|
||||||
|
|
||||||
* Mon Apr 29 2013 Petr Šabata <contyk@redhat.com> - 0.21-1
|
* Mon Apr 29 2013 Petr Šabata <contyk@redhat.com> - 0.21-1
|
||||||
- 0.21 bump
|
- 0.21 bump
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user