From fc890b7d738eb5f63a0136e41433da05868d3ab9 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Mon, 28 Jun 2021 15:58:26 +0200 Subject: [PATCH] Revert "Skip the ssl tests on Brew s390x build environment." This reverts commit 9599325b90de3d9b3593a146ce383e3361c66d7a. This issue was fixed on RHELBLD-6305. Bump release for rebuild. Related: rhbz#1938942 --- ruby-3.0.0-Skip-ssl-tests-for-offline.patch | 16 ---------------- ruby.spec | 12 ++---------- 2 files changed, 2 insertions(+), 26 deletions(-) delete mode 100644 ruby-3.0.0-Skip-ssl-tests-for-offline.patch diff --git a/ruby-3.0.0-Skip-ssl-tests-for-offline.patch b/ruby-3.0.0-Skip-ssl-tests-for-offline.patch deleted file mode 100644 index 22ce112..0000000 --- a/ruby-3.0.0-Skip-ssl-tests-for-offline.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/test/rubygems/test_bundled_ca.rb b/test/rubygems/test_bundled_ca.rb -index 6973758c4c..71f61ca8f7 100644 ---- a/test/rubygems/test_bundled_ca.rb -+++ b/test/rubygems/test_bundled_ca.rb -@@ -32,7 +32,7 @@ def assert_https(host) - http.verify_mode = OpenSSL::SSL::VERIFY_PEER - http.cert_store = bundled_certificate_store - http.get('/') -- rescue Errno::ENOENT, Errno::ETIMEDOUT, SocketError -+ rescue Errno::ECONNREFUSED, Errno::ENETUNREACH, Errno::ENOENT, Errno::ETIMEDOUT, SocketError - skip "#{host} seems offline, I can't tell whether ssl would work." - rescue OpenSSL::SSL::SSLError => e - # Only fail for certificate verification errors --- -2.29.2 - diff --git a/ruby.spec b/ruby.spec index 7f592c2..cf9f28b 100644 --- a/ruby.spec +++ b/ruby.spec @@ -22,7 +22,7 @@ %endif -%global release 137 +%global release 138 %{!?release_string:%define release_string %{?development_release:0.}%{release}%{?development_release:.%{development_release}}%{?dist}} # The RubyGems library has to stay out of Ruby directory tree, since the @@ -153,10 +153,6 @@ Patch15: ruby-dwarf5-avoid_crash-r1.patch # Avoid possible timeout errors in TestBugReporter#test_bug_reporter_add. # https://bugs.ruby-lang.org/issues/16492 Patch19: ruby-2.7.1-Timeout-the-test_bug_reporter_add-witout-raising-err.patch -# Skip the ssl tests on Brew s390x build environment. -# https://projects.engineering.redhat.com/browse/RHELBLD-6305 -# https://github.com/ruby/ruby/pull/4112 -Patch100: ruby-3.0.0-Skip-ssl-tests-for-offline.patch Requires: %{name}-libs%{?_isa} = %{version}-%{release} Suggests: rubypick @@ -593,9 +589,6 @@ rm -rf ext/fiddle/libffi* %patch9 -p1 %patch15 -p1 %patch19 -p1 -%ifarch s390x -%patch100 -p1 -%endif # Provide an example of usage of the tapset: cp -a %{SOURCE3} . @@ -1346,7 +1339,7 @@ MSPECOPTS="" %changelog -* Mon Jun 07 2021 Jarek Prokop - 3.0.1-137 +* Mon Jun 07 2021 Jarek Prokop - 3.0.1-138 - Upgrade to Ruby 3.0.1 by merging Fedora rawhide branch (commit: 6b2ff68). * Add missing `rubygem-` prefix for bundled provide of 'connection_pool'. * Pass ldflags to gem install via CONFIGURE_ARGS @@ -1367,7 +1360,6 @@ MSPECOPTS="" * Drop Net::Telnet and XMLRPC packages, because they were dropped from Ruby. Resolves: rhbz#1938942 - Fix FTBFS due to an incompatible load directive. -- Skip the SSL tests on Brew s390x build environment. * Wed Apr 07 2021 Pavel Valena - 2.7.3-136 - Upgrade to Ruby 2.7.3.