From 6f79a33c78b136a31ff155041bc37776685eb089 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 6 Nov 2020 18:30:24 +0100 Subject: [PATCH] disable doctests on s390x --- rust-scroll.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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