The package rpms/rust-alsa-sys.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-sys.git/commit/?id=d0de....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d0ded8fe03036046f2a5ecf0502fc6b229a2b34f
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Jul 7 20:11:32 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1beb0e4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/alsa-sys-0.3.1.crate
diff --git a/rust-alsa-sys.spec b/rust-alsa-sys.spec
new file mode 100644
index 0000000..840b151
--- /dev/null
+++ b/rust-alsa-sys.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 17
+# Deactivate tests because of missing function
+#
https://github.com/diwic/alsa-sys/issues/8
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate alsa-sys
+
+Name: rust-%{crate}
+Version: 0.3.1
+Release: 1%{?dist}
+Summary: FFI bindings for the ALSA project (Advanced Linux Sound Architecture)
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/alsa-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+FFI bindings for the ALSA project (Advanced Linux Sound Architecture).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: alsa-lib-devel
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%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
+echo "alsa-lib-devel"
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Jun 25 16:32:40 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.3.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..200fc19
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (alsa-sys-0.3.1.crate) =
6523d909c500fee433f934eedfdc200cfc52e1b55be09434665210c16bb9af3593d8b1346ace184b171c7135a7aa65fdac5ca8c68e64f9d20436e1d8fac961fe