diff --git a/rust-scroll.spec b/rust-scroll.spec index 046f112..171ce38 100644 --- a/rust-scroll.spec +++ b/rust-scroll.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.10.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Powerful, extensible, generic, endian-aware Read/Write traits for byte buffers # Upstream license specification: MIT @@ -104,10 +104,19 @@ which use "std" feature of "%{crate}" crate. %if %{with check} %check +%ifnarch s390x %cargo_test -a +%else +# one doc test is broken on s390x / big-endian +# https://github.com/m4b/scroll/issues/77 +%cargo_test -a -- --lib +%endif %endif %changelog +* Fri Nov 06 2020 Fabio Valentini - 0.10.2-2 +- Disable doctests on s390x. + * Fri Nov 06 2020 Fabio Valentini - 0.10.2-1 - Update to version 0.10.2. - Fixes RHBZ#1886713