From d0ea39b54371499a479e714bf5c75cd682acd7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 3 Dec 2020 17:32:27 +0100 Subject: [PATCH] Disable long double test failing on i686. --- rubygem-ffi.spec | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/rubygem-ffi.spec b/rubygem-ffi.spec index 5bd3804..9842c5b 100644 --- a/rubygem-ffi.spec +++ b/rubygem-ffi.spec @@ -64,6 +64,13 @@ pushd spec/ffi/fixtures make JFLAGS="%{optflags}" popd +# Previously disabled long double test fails on i686. +# https://github.com/ffi/ffi/issues/849 +%ifarch i686 +sed -i '/it "add two long double numbers" do/a\ + skip' spec/ffi/long_double_spec.rb +%endif + RUBYOPT="-I$(dirs +1)%{gem_extdir_mri}" rspec spec popd @@ -89,6 +96,9 @@ popd %{gem_instdir}/ffi.gemspec %changelog +* Thu Dec 03 2020 Vít Ondruch - 1.13.1-1 +- Disable long double test failing on i686. + * Thu Nov 12 22:57:22 CET 2020 Pavel Valena - 1.13.1-1 - Update to ffi 1.13.1. Resolves: rhbz#1797215