work around harmless test failure on 32-bit architectures

This commit is contained in:
Fabio Valentini 2021-06-29 11:54:57 +02:00
parent 9ab39ae289
commit 6e6f9cabce
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
1 changed files with 10 additions and 1 deletions

View File

@ -5,7 +5,7 @@
Name: rust-%{crate}
Version: 0.9.4
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Fuzzy Finder in Rust
# Upstream license specification: MIT
@ -123,10 +123,19 @@ install -Dpm0644 -t %{buildroot}%{_datadir}/skim/shell \
%if %{with check}
%check
%ifarch %{arm} %{ix86}
# integer overflow in test code on 32-bit architectures
# https://github.com/lotabout/skim/issues/415
%cargo_test -- -- --skip test_atoi
%else
%cargo_test
%endif
%endif
%changelog
* Tue Jun 29 2021 Fabio Valentini <decathorpe@gmail.com> - 0.9.4-2
- Work around harmless test failure on 32-bit architectures.
* Mon Jun 28 2021 Fabio Valentini <decathorpe@gmail.com> - 0.9.4-1
- Update to version 0.9.4.
- Fixes RHBZ#1889197