[meego-commits] 5942: Changes to Trunk/perl-Socket6
Anas Nashif
nashif at linux.intel.com
Thu Jul 22 20:00:39 UTC 2010
Hi,
I have made the following changes to perl-Socket6 in project Trunk. Please review and accept ASAP.
Thank You,
Anas Nashif
[This message was auto-generated]
---
Request #5942:
submit: Trunk:Testing/perl-Socket6(r3) -> Trunk/perl-Socket6
Message:
Move to Trunk
State: new 2010-07-22T07:54:29 nashif
Comment: None
changes files:
--------------
--- perl-Socket6.changes
+++ perl-Socket6.changes
@@ -0,0 +1,3 @@
+* Thu Jul 22 2010 Wang Quanxian <quanxian.wang at intel.com> 0.23
+- Change localhost to 127.0.0.1. Otherwise it will report name reso issue
+
new:
----
test_case_localhost.patch
spec files:
-----------
--- perl-Socket6.spec
+++ perl-Socket6.spec
@@ -7,6 +7,7 @@
License: BSD
URL: http://search.cpan.org/dist/Socket6/
Source0: http://www.cpan.org/authors/id/U/UM/UMEMOTO/Socket6-%{version}.tar.gz
+Patch0: test_case_localhost.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
@@ -21,6 +22,7 @@
%prep
%setup -q -n Socket6-%{version}
+%patch0 -p1
%build
other changes:
--------------
++++++ test_case_localhost.patch (new)
--- test_case_localhost.patch
+++ test_case_localhost.patch
+--- Socket6-0.23/t/use.t_orig 2010-07-22 20:53:08.457406279 +0800
++++ Socket6-0.23/t/use.t 2010-07-22 20:53:20.225406017 +0800
+@@ -35,7 +35,7 @@ use Socket;
+ BEGIN { plan tests => 3 }
+
+ use Socket6; ok(1);
+-my @tmp = getaddrinfo("localhost", "", AF_INET, SOCK_STREAM, 0, 0);
++my @tmp = getaddrinfo("127.0.0.1", "", AF_INET, SOCK_STREAM, 0, 0);
+ if ($#tmp >= 1) {
+ ok(2);
+ }
More information about the MeeGo-commits
mailing list