From b357d260445484a7f8ccbb2ed55fc71b2841e74b Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Wed, 25 Oct 2023 12:48:03 +0200 Subject: [PATCH] Upgrade to rubygem-mysql2 0.5.5. Remove patching the GC.verify_compaction_references in spec suite, Appropriate fix is present in Fedora and upstream Ruby 3.2 already. Fedora Ruby 3.1 fixed the support via the following commits: https://src.fedoraproject.org/rpms/ruby/c/b7b547379654b3a337010d15914139e158e59acb https://src.fedoraproject.org/rpms/ruby/c/ca94aff023c5779dec1e03094784bdf736beca83 Resolves: rhbz#2163026 --- rubygem-mysql2.spec | 16 +++++++--------- sources | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/rubygem-mysql2.spec b/rubygem-mysql2.spec index 8f5be7b..4f4126c 100644 --- a/rubygem-mysql2.spec +++ b/rubygem-mysql2.spec @@ -5,14 +5,14 @@ %global gem_name mysql2 Name: rubygem-%{gem_name} -Version: 0.5.4 -Release: 6%{?dist} +Version: 0.5.5 +Release: 1%{?dist} Summary: A simple, fast Mysql library for Ruby, binding to libmysql License: MIT URL: https://github.com/brianmario/mysql2 Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem # git clone --no-checkout https://github.com/brianmario/mysql2.git -# cd mysql2 && git archive -v -o mysql2-0.5.3-tests.txz 0.5.3 spec/ +# cd mysql2 && git archive -v -o mysql2-0.5.5-tests.txz 0.5.5 spec/ Source1: %{gem_name}-%{version}-tests.txz # Use the SSL pem files in the upstream repositry for the SSL tests. # https://github.com/brianmario/mysql2/pull/1293 @@ -153,12 +153,6 @@ mysql -u root \ -S "${MYSQL_TEST_SOCKET}" \ -P "${MYSQL_TEST_PORT}" -# This GC method call is problematic on ppc64le builders, stalling the tests execution. -# https://github.com/brianmario/mysql2/issues/1261 -%ifarch ppc64le -sed -i -e '/GC.verify_compaction_references/ s/^/#/' spec/spec_helper.rb -%endif - # See https://github.com/brianmario/mysql2/blob/master/tasks/rspec.rake cat < spec/configuration.yml root: @@ -202,6 +196,10 @@ kill "$(cat "${MYSQL_TEST_PID_FILE}")" %changelog +* Wed Oct 25 2023 Jarek Prokop - 0.5.5-1 +- Upgrade to rubygem-mysql2 0.5.5. + Resolves: rhbz#2163026 + * Fri Jul 21 2023 Fedora Release Engineering - 0.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild diff --git a/sources b/sources index 325ff6d..e3789ea 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (mysql2-0.5.4.gem) = 7852afe449f6931d0dc6ceba542a49280170af56c9f2f1fa369224e1633b6cbd03c1dfeae9d7b2c2c3e0e63fe6dd386b030e0249c9c9de1863476729490c1c9b -SHA512 (mysql2-0.5.4-tests.txz) = edb50d29b17175ce475975630f01b1771c4bc109bf79f33b4af76f8b5db29d86270023f0991f8cec729479cf5cb7ef1319200d248f57ead0a2991033ad333348 +SHA512 (mysql2-0.5.5.gem) = a3865bf670c8fbb1942b631ff6eea8c26a9fa8b4d25da0faca84cb9d9c7c44eb98cd29ace83a62596eec0a522899b01044715e900d1389809b65e40fb09b258f +SHA512 (mysql2-0.5.5-tests.txz) = 0d6a81324a6466dafb859bb05e6cfc50e9758ead5cf7b50afea16f61568e0a2b9c17f22820aaa4c36c285abe00f855e87a3c7bd0934602cebbb98f299680a2c5