The package rpms/rust-infer.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-infer.git/commit/?id=55b2270....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c4a26fa4f4a282671330d65f872b7c62f137a124
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Feb 23 17:44:39 2022 -0500
Fix build
diff --git a/rust-infer.spec b/rust-infer.spec
index d8ca821..9aaba76 100644
--- a/rust-infer.spec
+++ b/rust-infer.spec
@@ -5,6 +5,8 @@
%global debug_package %{nil}
%global crate infer
+# Fix an issue with rpm refusing sample files
+%global _binaries_in_noarch_packages_terminate_build 0
Name: rust-%{crate}
Version: 0.7.0
commit 55b22708728b40e8ddc70c12fbbf536a7d238739
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Wed Feb 23 17:28:34 2022 -0500
Initial import; Fixes RHBZ#2054456
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8f7964a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/infer-0.7.0.crate
diff --git a/rust-infer.spec b/rust-infer.spec
new file mode 100644
index 0000000..d8ca821
--- /dev/null
+++ b/rust-infer.spec
@@ -0,0 +1,109 @@
+# Generated by rust2rpm 20
+# * Description grammar fix
+#
https://github.com/bojand/infer/pull/55
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate infer
+
+Name: rust-%{crate}
+Version: 0.7.0
+Release: %autorelease
+Summary: Small crate to infer file type based on magic number signatures
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/infer
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Small crate to infer file type based on magic number signatures.}
+
+%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
+%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
+
+%package -n %{name}+alloc-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+alloc-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "alloc" feature of the "%{crate}" crate.
+
+%files -n %{name}+alloc-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+cfb-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+cfb-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "cfb" feature of the "%{crate}" crate.
+
+%files -n %{name}+cfb-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 the "std" feature of the "%{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
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..6e7a968
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (infer-0.7.0.crate) =
7afe563adf24f18fe6ff741d9099283a57649ade04bf6f3dc84aad462b65231b0d16240d36fe8d8dd8466a37b6fd5589e14ae3dc9f6191cb9351fcf4b559f453