From e987c4579cce3ae85b500ea8e641ef9fc998e9c4 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Oct 27 2022 16:25:51 +0000 Subject: Rust: Stop requiring ExclusiveArch: %{rust_arches} Fixes https://pagure.io/packaging-committee/issue/1220 --- diff --git a/guidelines/modules/ROOT/examples/rust-ripgrep.spec b/guidelines/modules/ROOT/examples/rust-ripgrep.spec index 79416b5..ab20cff 100644 --- a/guidelines/modules/ROOT/examples/rust-ripgrep.spec +++ b/guidelines/modules/ROOT/examples/rust-ripgrep.spec @@ -17,8 +17,6 @@ Source: %{crates_source} # * No jemalloc Patch: ripgrep-fix-metadata.diff -ExclusiveArch: %{rust_arches} - BuildRequires: rust-packaging %global _description %{expand: diff --git a/guidelines/modules/ROOT/examples/rust-serde.spec b/guidelines/modules/ROOT/examples/rust-serde.spec index 093cce6..9f7e445 100644 --- a/guidelines/modules/ROOT/examples/rust-serde.spec +++ b/guidelines/modules/ROOT/examples/rust-serde.spec @@ -15,7 +15,6 @@ License: MIT OR Apache-2.0-or-later URL: https://crates.io/crates/serde Source: %{crates_source} -ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif diff --git a/guidelines/modules/ROOT/examples/rust-yubibomb.spec b/guidelines/modules/ROOT/examples/rust-yubibomb.spec index e92821e..cdd5476 100644 --- a/guidelines/modules/ROOT/examples/rust-yubibomb.spec +++ b/guidelines/modules/ROOT/examples/rust-yubibomb.spec @@ -12,7 +12,6 @@ License: GPL-3.0-only URL: https://crates.io/crates/yubibomb Source: %{crates_source} -ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif diff --git a/guidelines/modules/ROOT/pages/Rust.adoc b/guidelines/modules/ROOT/pages/Rust.adoc index 982ae55..e8002e1 100644 --- a/guidelines/modules/ROOT/pages/Rust.adoc +++ b/guidelines/modules/ROOT/pages/Rust.adoc @@ -238,10 +238,6 @@ NOTE: When introducing a compatibility package, the packager SHOULD check for example, on other compatibility packages, or on old versions of other packages. If that is the case, the test suite SHOULD be disabled to lower the overall maintenance burden. -== ExclusiveArch - -All rust packages MUST have `+ExclusiveArch: %{rust_arches}+`. - == License for binary packages See xref:legal::license-field.adoc[License: field in Spec file] guidance specific to Rust.