From bb1cdb7330f4d2568bbe261ae2c51020f9ea5c6b Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 15 Jul 2021 13:52:24 -0700 Subject: [PATCH] noarch+ExcludeArch doesn't work on subpackages --- rust.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust.spec b/rust.spec index cf441c8..808d073 100644 --- a/rust.spec +++ b/rust.spec @@ -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\nExcludeArch: s390x" + requires = requires .. "\nRequires: lld >= 8.0" end local subs = { triple = triple,