diff --git a/rubygem-mysql2.spec b/rubygem-mysql2.spec index 900c0c6..50d4d9d 100644 --- a/rubygem-mysql2.spec +++ b/rubygem-mysql2.spec @@ -1,5 +1,11 @@ -# build with tests? +# Disable tests for 32bit arch, mariadb-server +# needed for majority of the tests is not built for ix86 +# https://gitlab.com/redhat/centos-stream/rpms/mariadb/-/blob/e7c71299403146a661255e2d50a74d789d083429/mariadb.spec#L2 +%ifarch %{ix86} +%bcond_with tests +%else %bcond_without tests +%endif # Generated from mysql2-0.3.11.gem by gem2rpm -*- rpm-spec -*- %global gem_name mysql2