The package rpms/rust-asn1.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-asn1.git/commit/?id=5c8e29c5....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 5c8e29c5ebec7e6321ca3c3f8b24343475c755e2
Author: Christian Heimes <cheimes(a)redhat.com>
Date: Sat May 8 14:01:27 2021 +0200
Initial import (#1956367).
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..378a428
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/asn1-0.4.1.crate
diff --git a/rust-asn1.spec b/rust-asn1.spec
new file mode 100644
index 0000000..a307399
--- /dev/null
+++ b/rust-asn1.spec
@@ -0,0 +1,122 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate asn1
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: 1%{?dist}
+Summary: ASN.1 (DER) parser and writer for Rust
+
+# Upstream license specification: BSD-3-Clause
+License: BSD
+URL:
https://crates.io/crates/asn1
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+ASN.1 (DER) parser and writer for Rust.}
+
+%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
+
+%package -n %{name}+asn1_derive-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+asn1_derive-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "asn1_derive" feature of "%{crate}" crate.
+
+%files -n %{name}+asn1_derive-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+const-generics-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+const-generics-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "const-generics" feature of "%{crate}" crate.
+
+%files -n %{name}+const-generics-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+derive-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "derive" feature of "%{crate}" crate.
+
+%files -n %{name}+derive-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+std-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+std-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "std" feature of "%{crate}" crate.
+
+%files -n %{name}+std-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
+* Mon May 03 16:22:30 CEST 2021 Christian Heimes <cheimes(a)redhat.com> - 0.4.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..47a06ef
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (asn1-0.4.1.crate) =
52094afd4a4afd878b1fcc87d4dcf4c517f5805d6cee3f583659a965ca5325cf643fc93828838818f09ee25725b0204258f1a66898b5923d7b90d5c30fd3b1c1