[rubygem-net-http-persistent/f16] 2.1

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Oct 8 18:58:51 UTC 2011


commit e50831230e8982383002234fa8e4f37dd0ac8318
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Oct 9 03:58:49 2011 +0900

    2.1

 rubygem-net-http-persistent-2.1-no-net-test.patch |   10 ++++++++++
 rubygem-net-http-persistent.spec                  |    5 +++++
 2 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/rubygem-net-http-persistent-2.1-no-net-test.patch b/rubygem-net-http-persistent-2.1-no-net-test.patch
new file mode 100644
index 0000000..06f34b6
--- /dev/null
+++ b/rubygem-net-http-persistent-2.1-no-net-test.patch
@@ -0,0 +1,10 @@
+--- net-http-persistent-2.1/test/test_net_http_persistent.rb.net	2011-10-09 03:15:00.000000000 +0900
++++ net-http-persistent-2.1/test/test_net_http_persistent.rb	2011-10-09 03:52:17.000000000 +0900
+@@ -257,6 +257,7 @@
+   end
+ 
+   def test_connection_for_no_ssl_reuse
++    skip "No net available"
+     @http.reuse_ssl_sessions = false
+     @http.open_timeout = 123
+     @http.read_timeout = 321
diff --git a/rubygem-net-http-persistent.spec b/rubygem-net-http-persistent.spec
index 56130b6..02c8c24 100644
--- a/rubygem-net-http-persistent.spec
+++ b/rubygem-net-http-persistent.spec
@@ -13,6 +13,7 @@ License:	MIT
 
 URL:		http://seattlerb.rubyforge.org/net-http-persistent
 Source0:	http://rubygems.org/gems/%{gemname}-%{version}.gem
+Patch0:		rubygem-net-http-persistent-2.1-no-net-test.patch
 
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	rubygem(hoe)
@@ -50,6 +51,10 @@ gem install \
 	--rdoc \
 	%{SOURCE0}
 
+pushd .%{geminstdir}
+%patch0 -p1
+popd
+
 chmod 0644 ./%{gemdir}/cache/%{gemname}-%{version}.gem
 
 %build


More information about the scm-commits mailing list