eseyman pushed to perl-IO-Async (master). "Update to 0.68, disabling a new test as we go"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Aug 16 14:22:18 UTC 2015


From 7cf56edc8632697982f743f32e1cac50aa4c0289 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 16 Aug 2015 16:21:45 +0200
Subject: Update to 0.68, disabling a new test as we go


diff --git a/.gitignore b/.gitignore
index 8e9baa1..f77f48c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@ IO-Async-0.28.tar.gz
 /IO-Async-0.65.tar.gz
 /IO-Async-0.66.tar.gz
 /IO-Async-0.67.tar.gz
+/IO-Async-0.68.tar.gz
diff --git a/IO-Async-0.68-disable-resolver-test.patch b/IO-Async-0.68-disable-resolver-test.patch
new file mode 100644
index 0000000..aef9843
--- /dev/null
+++ b/IO-Async-0.68-disable-resolver-test.patch
@@ -0,0 +1,31 @@
+diff -up ./t/50resolver.t.orig ./t/50resolver.t
+--- ./t/50resolver.t.orig	2015-08-16 15:48:07.665077176 +0200
++++ ./t/50resolver.t	2015-08-16 15:52:21.625568678 +0200
+@@ -302,27 +302,6 @@ my ( $localhost_err, @localhost_addrs )
+    is_deeply( \@got, \@lo_addrs, '$resolver->getaddrinfo resolved addresses synchronously' );
+ }
+ 
+-# Now something I hope doesn't exist - we put it in a known-missing TLD
+-my $missinghost = "TbK4jM2M0OS.lm57DWIyu4i";
+-
+-# Some CPAN testing machines seem to have wildcard DNS servers that reply to
+-# any request. We'd better check for them
+-
+-SKIP: {
+-    skip "Resolver has an answer for $missinghost", 1 if gethostbyname( $missinghost );
+-
+-    my $future = wait_for_future $resolver->getaddrinfo(
+-       host     => $missinghost,
+-       service  => "80",
+-       socktype => SOCK_STREAM,
+-    );
+-
+-    ok( $future->failure, '$future failed for missing host' );
+-    is( ( $future->failure )[1], "resolve", '->failure [1] gives resolve' );
+-    is( ( $future->failure )[2], "getaddrinfo", '->failure [2] gives getaddrinfo' );
+-    is( ( $future->failure )[3], Socket::EAI_NONAME, '->failure [3] gives EAI_NONAME' );
+-}
+-
+ my $testaddr = pack_sockaddr_in( 80, INADDR_LOOPBACK );
+ my ( $testerr, $testhost, $testserv ) = getnameinfo( $testaddr );
+ 
diff --git a/perl-IO-Async.spec b/perl-IO-Async.spec
index e9e5753..8c2fa82 100644
--- a/perl-IO-Async.spec
+++ b/perl-IO-Async.spec
@@ -1,11 +1,12 @@
 Name:           perl-IO-Async
-Version:        0.67
-Release:        4%{?dist}
+Version:        0.68
+Release:        1%{?dist}
 Summary:        A collection of modules that implement asynchronous filehandle IO
 
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/IO-Async/
 Source0:        http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/IO-Async-%{version}.tar.gz
+Patch0:         IO-Async-0.68-disable-resolver-test.patch
 
 BuildArch:      noarch
 BuildRequires:  make
@@ -64,6 +65,7 @@ A collection of modules that implement asynchronous filehandle IO
 
 %prep
 %setup -q -n IO-Async-%{version}
+%patch0
 
 
 %build
@@ -86,6 +88,10 @@ make test
 
 
 %changelog
+* Sun Aug 16 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 0.68-1
+- Update to 0.68
+- Disable resolution test for a missing host
+
 * Tue Aug 11 2015 Petr Ĺ abata <contyk at redhat.com> - 0.67-4
 - Prevent FTBFS by correcting the build time dependency list
 
diff --git a/sources b/sources
index fdb143d..0ddf4b5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ce6f002ba0bc0e1ec3a58100d0e28823  IO-Async-0.67.tar.gz
+4d5177c823d17cecb6c4f9588ac80d9d  IO-Async-0.68.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-IO-Async.git/commit/?h=master&id=7cf56edc8632697982f743f32e1cac50aa4c0289


More information about the perl-devel mailing list