From dc312913f3eeeac7abbef9a616c6892cdc5ee861 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 27 Feb 2022 13:51:16 +0100 Subject: [PATCH] Temporarily work around rustc 1.59 issues on s390x --- rust-clap_derive.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rust-clap_derive.spec b/rust-clap_derive.spec index b28e913..5016c1b 100644 --- a/rust-clap_derive.spec +++ b/rust-clap_derive.spec @@ -69,15 +69,23 @@ use the "debug" feature of the "%{crate}" crate. %cargo_generate_buildrequires %build +%ifnarch s390x +# * temporary workaround for rustc 1.59 issues on s390x +# https://bugzilla.redhat.com/show_bug.cgi?id=2058803 %cargo_build +%endif %install %cargo_install %if %{with check} %check +%ifnarch s390x +# * temporary workaround for rustc 1.59 issues on s390x +# https://bugzilla.redhat.com/show_bug.cgi?id=2058803 %cargo_test %endif +%endif %changelog %autochangelog