Disable the SO_REUSEPORT test; koji builders don't support this feature yet

This commit is contained in:
Petr Šabata 2013-07-18 18:08:30 +02:00
parent 7fe63abe7e
commit 15f3e4b4da
2 changed files with 18 additions and 1 deletions

View 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",

View File

@ -1,11 +1,12 @@
Name: perl-IO-Socket-IP
Version: 0.21
Release: 1%{?dist}
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
Patch0: IO-Socket-IP-so_reuseport.patch
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(base)
@ -33,6 +34,7 @@ arguments and methods are provided in a backward-compatible way.
%prep
%setup -q -n IO-Socket-IP-%{version}
%patch0 -p1
%build
perl Build.PL installdirs=vendor
@ -53,6 +55,9 @@ rm -f t/21nonblocking-connect-internet.t
%{_mandir}/man3/*
%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
- 0.21 bump