The package rpms/rust-random.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-random.git/commit/?id=2710a3....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2710a333c9538377f12ee1a7865e72440f4de3af
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Fri Jan 28 06:41:00 2022 -0800
Initial import; Fixes: RHBZ#1983888
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..45d4043
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/random-0.12.2.crate
diff --git a/rust-random.spec b/rust-random.spec
new file mode 100644
index 0000000..0db5a9e
--- /dev/null
+++ b/rust-random.spec
@@ -0,0 +1,72 @@
+# Generated by rust2rpm 20
+# Disable tests as they reliably fail in mock
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate random
+
+Name: rust-%{crate}
+Version: 0.12.2
+Release: %autorelease
+Summary: Package provides sources of randomness
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/random
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Package provides sources of randomness.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license LICENSE.md
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..36d8b31
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (random-0.12.2.crate) =
ddd1836ccce85bbe72d4bbb3ce1b62a773ebc49f1eee5d8e5021a7cb696eb1fd697ed71d2c218ac0aa188de42fa2787648bb2247647089abf9b3fe9372889e00