The package rpms/rust-memmap2.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-memmap2.git/commit/?id=a7117....
Change:
+%ifarch %{arm} %{ix86}
Thanks.
Full change:
============
commit a71173a6510c4dba8a3e1852891359a1bc81918f
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Jun 18 14:31:33 2021 +0200
skip a test that does not work on 32-bit architectures
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 <decathorpe(a)gmail.com> - 0.3.0-2
+- Skip a test that does not work on 32-bit architectures.
+
* Fri Jun 18 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.3.0-1
- Update to version 0.3.0.
- Fixes RHBZ#1909435