The package rpms/rust-cpc.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-cpc.git/commit/?id=ee75f12b4....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit ee75f12b4cb0c3b2cfee639e10abaaec66d09b43
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Aug 1 16:10:15 2022 -0700
Initial import; Fixes: RHBZ#1993506
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..935f5d2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cpc-1.8.0.crate
diff --git a/rust-cpc.spec b/rust-cpc.spec
new file mode 100644
index 0000000..737c9a8
--- /dev/null
+++ b/rust-cpc.spec
@@ -0,0 +1,84 @@
+# Generated by rust2rpm 21
+%bcond_without check
+
+%global crate cpc
+
+Name: rust-%{crate}
+Version: 1.8.0
+Release: %autorelease
+Summary: Evaluates math expressions, with support for units and conversion between
units
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/cpc
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Evaluates math expressions, with support for units and conversion between
+units.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+# ASL 2.0 and (MIT or ASL 2.0) and MIT and (Unlicense or MIT)
+License: ASL 2.0 and MIT
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE
+%doc CHANGELOG.md README.md
+%{_bindir}/cpc
+
+%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 %{crate_instdir}/LICENSE
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 %{crate_instdir}/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..517579e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cpc-1.8.0.crate) =
da7589f4c3ba88d805d258743520bba0cce0b30acd25173649bc980914896b9bf9708a3fe819c9b8b27423c64ceec8d4daeb7f7d280747c10072d316a5f280e7