The package rpms/rubygem-puma.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rubygem-puma.git/commit/?id=03c3e98c....
Change: -%ifarch ppc64le s390x aarch64
Thanks.
Full change: ============
commit 03c3e98cc5f00e2df2a4753e92da11dc50a6d33d Author: Vít Ondruch vondruch@redhat.com Date: Mon Aug 29 10:01:03 2022 +0200
Update to Puma 5.6.5.
Resolves: rhbz#2046576 Resolves: rhbz#2113697 Resolves: rhbz#2071625 Resovles: rhbz#2054212
diff --git a/rubygem-puma-3.6.0-fedora-crypto-policy-cipher-list.patch b/rubygem-puma-3.6.0-fedora-crypto-policy-cipher-list.patch index 1e9954f..b2c4577 100644 --- a/rubygem-puma-3.6.0-fedora-crypto-policy-cipher-list.patch +++ b/rubygem-puma-3.6.0-fedora-crypto-policy-cipher-list.patch @@ -2,7 +2,7 @@ diff --git a/ext/puma_http11/mini_ssl.c b/ext/puma_http11/mini_ssl.c index 7e0fd5e..88c4652 100644 --- a/ext/puma_http11/mini_ssl.c +++ b/ext/puma_http11/mini_ssl.c -@@ -286,7 +286,7 @@ sslctx_initialize(VALUE self, VALUE mini_ssl_ctx) { +@@ -336,7 +336,7 @@ sslctx_initialize(VALUE self, VALUE mini_ssl_ctx) { SSL_CTX_set_cipher_list(ctx, RSTRING_PTR(ssl_cipher_filter)); } else { @@ -10,7 +10,7 @@ index 7e0fd5e..88c4652 100644 + SSL_CTX_set_cipher_list(ctx, "PROFILE=SYSTEM"); }
- dh = get_dh2048(); + #if OPENSSL_VERSION_NUMBER < 0x10002000L -- 2.30.0
diff --git a/rubygem-puma.spec b/rubygem-puma.spec index e2944ca..48490bb 100644 --- a/rubygem-puma.spec +++ b/rubygem-puma.spec @@ -7,18 +7,18 @@ %bcond_without help2man
Name: rubygem-%{gem_name} -Version: 5.5.2 -Release: 3%{?dist} +Version: 5.6.5 +Release: 1%{?dist} Summary: A simple, fast, threaded, and highly concurrent HTTP 1.1 server -License: BSD -URL: http://puma.io +License: BSD-3-Clause +URL: https://puma.io Source0: https://rubygems.org/gems/%%7Bgem_name%7D-%%7Bversion%7D.gem # The puma gem doesn't ship with the test suite. # git clone https://github.com/puma/puma --no-checkout -# cd puma && git archive -v -o puma-5.5.2-tests.txz v5.5.2 test +# cd puma && git archive -v -o puma-5.6.5-tests.txz v5.6.5 test Source1: %{gem_name}-%{version}-tests.txz # The puma gem doesn't ship with the examples used in test suite. -# git archive -v -o puma-5.5.2-examples.txz v5.5.2 examples +# git archive -v -o puma-5.6.5-examples.txz v5.6.5 examples Source3: %{gem_name}-%{version}-examples.txz # Set the default cipher list "PROFILE=SYSTEM". # https://fedoraproject.org/wiki/Packaging:CryptoPolicies @@ -44,9 +44,9 @@ BuildRequires: help2man BuildRequires: gcc
%description -Puma is a simple, fast, threaded, and highly concurrent HTTP 1.1 server for +Puma is a simple, fast, threaded, and highly parallel HTTP 1.1 server for Ruby/Rack applications. Puma is intended for use in both development and -production environments. It's great for highly concurrent Ruby implementations +production environments. It's great for highly parallel Ruby implementations such as Rubinius and JRuby as well as as providing process worker support to support CRuby well.
@@ -119,24 +119,21 @@ cp -a %{_builddir}/test . ln -s %{_builddir}/examples .
# We do not ship minitest-retry, minitest-proveit. -sed -i -e "/require..minitest/(retry|proveit)./ s/^/#/" test/helper.rb -sed -i "/Minitest::Retry/ s/^/#/" test/helper.rb +sed -i -e '/require..minitest/proveit./ s/^/#/' test/helper.rb sed -i '/prove_it!/ s/^/#/' test/helper.rb
-# Increase timeout seconds to avoid the timeout for every test case on Koji. -# TimeoutEveryTestCase::TestTookTooLong: execution expired -sed -i '/::Timeout.timeout/ s/45/300/' test/helper.rb - -# Tests use bundler; test_phased_restart_cluster timeouts in Koje +# Tests use bundler. mv test/test_preserve_bundler_env.rb{,.disable} mv test/test_worker_gem_independence.rb{,.disable} sed -i -e '/^\s*def test_prune_bundler_with_multiple_workers$/a\ - skip' \ - -e '/^\s*def test_phased_restart_cluster$/a\ skip' test/test_integration_pumactl.rb
# We don't have localhost gem in Fedora. mv test/test_puma_localhost_authority.rb{,.disable} +sed -i '/def test_ssl_self_signed_configuration_from_DSL/a\ + skip' test/test_config.rb +sed -i '/def test_ssl_run_with_localhost_authority/a\ + skip' test/test_integration_ssl.rb
# Disable unstable tests # TestIntegrationSingle#test_closed_listener @@ -151,34 +148,26 @@ mv test/test_integration_single.rb{,.disable} # https://github.com/puma/puma/issues/2804 mv test/test_integration_cluster.rb{,.disable}
-# Skip an unstable test on Koji. -# TestCLI#test_control failing with "pool_capacity": 0 -# https://github.com/puma/puma/issues/2212 -%ifarch ppc64le s390x aarch64 -sed -i '/^ def test_control$/,/^ end$/ s/^/#/' test/test_cli.rb -%endif - # These test often timeouts on Koji. -sed -i '/^ def test_timeout_in_data_phase$/a\ - skip' test/test_puma_server.rb sed -i '/^ def test_plugin$/a\ skip' test/test_plugin.rb
-# Skip a randomly failed SSL test. -# Errno::ECONNRESET: Connection reset by peer -# /usr/share/ruby/openssl/buffering.rb:182:in `sysread_nonblock' -# /usr/share/ruby/openssl/buffering.rb:182:in `read_nonblock' -sed -i '/^ def test_verify_fail_if_client_unknown_ca$/a\ - skip' test/test_puma_server_ssl.rb - - - -# Make binary exension available in Ruby load path. -# Enable verbose mode to check unstable tests easily. +# * It seems that sd_notify might cause a lot of instability. Something like the +# following line must succeed: +# ~~~ +# RUBYOPT="-Ilib:/builddir/build/BUILD/puma-5.6.5/usr/lib64/gems/ruby/puma-5.6.5" \ +# bin/pumactl --control-url "tcp://127.0.0.1:45691/" --control-token "ctrl" \ +# --config-file "test/config/app.rb" start +# ~~~ +# Unsetting the sd_notify socket env variable effectively disables the +# sd_notify protocol. +# * Extend test timeout. +# * Make binary exension available in Ruby load path. +# * Enable verbose mode to check unstable tests easily. +env -u NOTIFY_SOCKET \ +TEST_CASE_TIMEOUT=300 \ RUBYOPT="-Ilib:$(dirs +1 -l)%{gem_extdir_mri}" \ -CI=1 \ -LC_ALL=C.UTF-8 \ -ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' +ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)' - -v
%if %{with help2man} # Check `--help` output, using which man page is created @@ -210,6 +199,13 @@ popd %{gem_instdir}/tools
%changelog +* Thu Aug 25 2022 Vít Ondruch vondruch@redhat.com - 5.6.5-1 +- Update to Puma 5.6.5. + Resolves: rhbz#2046576 + Resolves: rhbz#2113697 + Resolves: rhbz#2071625 + Resovles: rhbz#2054212 + * Sat Jul 23 2022 Fedora Release Engineering releng@fedoraproject.org - 5.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
diff --git a/sources b/sources index 1647e5f..80302b6 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (puma-5.5.2.gem) = dcc6d35bc4907ad3b6cfbfb902caa2ba763114c29fab6f60b3b46d5294f6e1744124ffea2e665b288889215ce6dcc547047246a8c96fc615c2c16fd156b85d71 -SHA512 (puma-5.5.2-tests.txz) = 3ccee0023a15860bafcdf9e007565d5b3536b6a0192a06cfe4d8144e35d477e7e7300bf638423b16dfe2f3ff9d5a31ebed467b9f8ebdad76a027b1f82181c279 -SHA512 (puma-5.5.2-examples.txz) = a514af3958610b299dad481263d88166bdbd268338d1bc8af7133e0ed0b1a610a2e813f649b5aa7d8e5d1b2353d42411214505529c6f9093357c36571b7bc8dd +SHA512 (puma-5.6.5-examples.txz) = e3a9ceb8ed8aec2b3dfc395a8d498d160ade5fc6417fdcb436d260745be75608e0c1e2af2f01461e7d2a1a14051a60091c9131ffe1710823c5e01bcfad5c9fb1 +SHA512 (puma-5.6.5-tests.txz) = e7a74cb3084ceac89e62a7d521d2c21291b0c7f1d2e77c41baa90f1227950af010e0d781991a763444c3bb9f6a3ac9ea285378ec419c9993c342f05d6793abf9 +SHA512 (puma-5.6.5.gem) = 8d7c655929ef8736c6ae8549d3b6d716364acde8fa3f3d1b3d0893edda7c58b76fd0ef6fc08d936e58f49d32619cd68c485b52f28cb79a4981149aedc4041d37
arch-excludes@lists.fedoraproject.org