Accepting request 1141533 from devel:languages:ruby
OBS-URL: https://build.opensuse.org/request/show/1141533 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby3.2?expand=0&rev=5
This commit is contained in:
commit
781dff6b60
21
Omit-test_session_reuse_but_expire-if-OpenSSL-3.2.0.patch
Normal file
21
Omit-test_session_reuse_but_expire-if-OpenSSL-3.2.0.patch
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
From 1b7376423d3bf79ba37856eae8f45d59ecc9c170 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
Date: Sun, 26 Nov 2023 01:18:48 +0900
|
||||||
|
Subject: [PATCH] Omit test_session_reuse_but_expire if OpenSSL 3.2.0
|
||||||
|
|
||||||
|
---
|
||||||
|
test/net/http/test_https.rb | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
Index: ruby-3.2.2/test/net/http/test_https.rb
|
||||||
|
===================================================================
|
||||||
|
--- ruby-3.2.2.orig/test/net/http/test_https.rb
|
||||||
|
+++ ruby-3.2.2/test/net/http/test_https.rb
|
||||||
|
@@ -167,6 +167,7 @@ class TestNetHTTPS < Test::Unit::TestCas
|
||||||
|
def test_session_reuse_but_expire
|
||||||
|
# FIXME: The new_session_cb is known broken for clients in OpenSSL 1.1.0h.
|
||||||
|
omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 1.1.0h')
|
||||||
|
+ omit if OpenSSL::OPENSSL_LIBRARY_VERSION.include?('OpenSSL 3.2.0')
|
||||||
|
|
||||||
|
http = Net::HTTP.new(HOST, config("port"))
|
||||||
|
http.use_ssl = true
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 21 12:56:03 UTC 2023 - Otto Hollmann <otto.hollmann@suse.com>
|
||||||
|
|
||||||
|
- Omit test_session_reuse_but_expire if OpenSSL 3.2.0
|
||||||
|
Add Omit-test_session_reuse_but_expire-if-OpenSSL-3.2.0.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 7 10:01:55 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue Nov 7 10:01:55 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -97,6 +97,8 @@ Source6: cargo_config
|
|||||||
Source98: series
|
Source98: series
|
||||||
Source99: %{rb_soname}-rpmlintrc
|
Source99: %{rb_soname}-rpmlintrc
|
||||||
Patch0: use-pie.patch
|
Patch0: use-pie.patch
|
||||||
|
# PATCH-FIX-UPSTREAM https://github.com/ruby/ruby/pull/9036
|
||||||
|
Patch1: Omit-test_session_reuse_but_expire-if-OpenSSL-3.2.0.patch
|
||||||
BuildRequires: ruby-bundled-gems-rpmhelper
|
BuildRequires: ruby-bundled-gems-rpmhelper
|
||||||
%if %{with clang}
|
%if %{with clang}
|
||||||
BuildRequires: clang
|
BuildRequires: clang
|
||||||
|
Loading…
Reference in New Issue
Block a user