From a71173a6510c4dba8a3e1852891359a1bc81918f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 18 Jun 2021 14:31:33 +0200 Subject: [PATCH] skip a test that does not work on 32-bit architectures --- rust-memmap2.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/rust-memmap2.spec b/rust-memmap2.spec index 99c7069..f3174ed 100644 --- a/rust-memmap2.spec +++ b/rust-memmap2.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross-platform Rust API for memory-mapped file IO # Upstream license specification: MIT/Apache-2.0 @@ -67,10 +67,18 @@ which use "default" feature of "%{crate}" crate. %if %{with check} %check +%ifarch %{arm} %{ix86} +# skip a test that does not work on 32-bit architectures +%cargo_test -- -- --skip map_offset +%else %cargo_test %endif +%endif %changelog +* Fri Jun 18 2021 Fabio Valentini - 0.3.0-2 +- Skip a test that does not work on 32-bit architectures. + * Fri Jun 18 2021 Fabio Valentini - 0.3.0-1 - Update to version 0.3.0. - Fixes RHBZ#1909435