|
|
@ -60,10 +60,15 @@ mv %{buildroot}%{gem_instdir}/lib/ffi_c.so %{buildroot}%{gem_extdir_mri}/lib/
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
pushd .%{gem_instdir}
|
|
|
|
make -f libtest/GNUmakefile
|
|
|
|
make -f libtest/GNUmakefile
|
|
|
|
|
|
|
|
# test dies on arm, disabling on the arch
|
|
|
|
%if 0%{?fedora} >= 21
|
|
|
|
%if 0%{?fedora} >= 21
|
|
|
|
ruby -Ilib:ext/ffi_c -S \
|
|
|
|
ruby -Ilib:ext/ffi_c -S \
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
rspec spec
|
|
|
|
rspec spec \
|
|
|
|
|
|
|
|
%ifarch %{arm}
|
|
|
|
|
|
|
|
|| echo "Please investigate this"
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|