#1220 Rust: Stop requiring ExclusiveArch: %{rust_arches}
Closed: Fixed a year ago by tibbs. Opened a year ago by churchyard.

I propose that we stop requiring the use of ExclusiveArch: %{rust_arches} for Rust packages and instead recognize Rust as generally available in Fedora (which it is, including riscv64).

This proposal originates in RPM gaining a transitive build dependency on Rust via https://fedoraproject.org/wiki/Changes/RpmSequoia


+1 to my own idea for the record

Makes sense to me (so +1), though it would be good to have some input from the Rust folks.

+1 to this

(Personally, I think having needed this until now is a bit silly, in practice if the package BuildRequires: cargo we already know this, and it's just that because the way we do builds with spec files/koji requires repetitive metadata instead of generating it that this was ever required in the first place)

This might have made sense in the beginning, when Rust / LLVM didn't support all our target architectures, but the situation has reversed, and Rust / LLVM support more architectures than Fedora. So I think it's fine to drop this.

I also filed an issue with rust2rpm I don't forget about including this change with the next version:
https://pagure.io/fedora-rust/rust2rpm/issue/228

Makes sense to me too.

I've pushed this change to rust2rpm, and it will be part of the next release (rust2rpm v23), which I will make in the near future.

Let's keep this issue open so I remember to file a PR for the Rust Packaging Guidelines once that release is out.

Is there any reason not to just change the guidelines now?

Commit e987c45 fixes this issue

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #1222 Merged a year ago