From e9feea05d7f5672e0e7d730ff3a8040001d3ade2 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 8 Jul 2021 17:13:17 -0700 Subject: [PATCH] Exclude wasm on s390x for lack of lld --- rust.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rust.spec b/rust.spec index a31979b..cf441c8 100644 --- a/rust.spec +++ b/rust.spec @@ -62,7 +62,7 @@ Name: rust Version: 1.53.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: The Rust Programming Language License: (ASL 2.0 or MIT) and (BSD and MIT) # ^ written as: (rust itself) and (bundled libraries) @@ -282,7 +282,7 @@ written in Rust. for triple in string.gmatch(rpm.expand("%{cross_targets}"), "%S+") do local requires = rpm.expand("Requires: rust = %{version}-%{release}") if string.sub(triple, 1, 4) == "wasm" then - requires = requires .. "\nRequires: lld >= 8.0" + requires = requires .. "\nRequires: lld >= 8.0\nExcludeArch: s390x" end local subs = { triple = triple, @@ -815,6 +815,9 @@ end} %changelog +* Thu Jul 08 2021 Josh Stone - 1.53.0-2 +- Exclude wasm on s390x for lack of lld + * Thu Jun 17 2021 Josh Stone - 1.53.0-1 - Update to 1.53.0.