diff --git a/rubygem-redis.spec b/rubygem-redis.spec index 250547217c505b063a7c0652991a68f5166ad255..2ce325a4736e7a70d2c6b00b310be91dc75962cf 100644 --- a/rubygem-redis.spec +++ b/rubygem-redis.spec @@ -1,7 +1,7 @@ %global gem_name redis Name: rubygem-%{gem_name} Version: 4.7.0 -Release: 2 +Release: 3 Summary: A Ruby client library for Redis License: MIT URL: https://github.com/redis/redis-rb @@ -45,6 +45,13 @@ sed -i \ -e '/def test_large_payload/,/end/ {/end/ s/end/&\n end/;}' \ test/internals_test.rb +sed -i \ + -e '/def test_redirection_when_slot_is_resharding/i\ driver(:ruby) do' \ + -e '/def test_redirection_when_slot_is_resharding/,/end/ {/end/ s/end/&\n end/;}' \ + test/cluster_client_slots_test.rb + +sed -i 's/redis:\/\/\//redis:\/\/127.0.0.1/g' test/url_param_test.rb + mkdir bin echo '#!/usr/bin/sh' > bin/build chmod a+x bin/build @@ -74,6 +81,9 @@ popd %doc %{gem_instdir}/README.md %changelog +* Sat Aug 12 2023 Ge Wang - 4.7.0-3 +- Fix test_redirection_when_slot_is_resharding test failure + * Thu Jan 12 2023 xu_ping - 4.7.0-2 - The TestInternals#test_large_payload fails with hiredis.