The package rpms/rust-alsa.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-alsa.git/commit/?id=1baca191....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 1baca191dea870aa5928768d4f3a4f2f4fba91cb
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Jul 7 21:46:15 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..038ae35
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/alsa-0.5.0.crate
diff --git a/rust-alsa.spec b/rust-alsa.spec
new file mode 100644
index 0000000..cd578d6
--- /dev/null
+++ b/rust-alsa.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 17
+# Deactivate tests because they need a sound card
+#
https://github.com/diwic/alsa-rs/issues/71
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate alsa
+
+Name: rust-%{crate}
+Version: 0.5.0
+Release: 1%{?dist}
+Summary: Thin but safe wrappers for ALSA (Linux sound API)
+
+# Upstream license specification: Apache-2.0/MIT
+#
https://github.com/diwic/alsa-rs/issues/70
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/alsa
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Thin but safe wrappers for ALSA (Linux sound API).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%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 "default" feature of "%{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
+* Fri Jun 25 16:24:20 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.5.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5909767
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-0.5.0.crate) =
95a57749b1c21418fe86c61b69a4fea73b0f43d42312ae6bb66ec4fe5bc8a255fd6adcfad5037b8b49361d62a1ae9efba03201daa17f2e05f0589beb66bc0160