The package rpms/rust-eyre.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-eyre.git/commit/?id=e5c2a400....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit e5c2a400e9f70ecc878d89c17c26d35395214e9a
Author: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Wed Apr 6 10:19:21 2022 -0700
Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..517582e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/eyre-0.6.8.crate
diff --git a/eyre-fix-metadata.diff b/eyre-fix-metadata.diff
new file mode 100644
index 0000000..f165bac
--- /dev/null
+++ b/eyre-fix-metadata.diff
@@ -0,0 +1,14 @@
+--- eyre-0.6.8/Cargo.toml 1970-01-01T00:00:01+00:00
++++ eyre-0.6.8/Cargo.toml 2022-04-05T02:48:25.755837+00:00
+@@ -80,11 +80,6 @@
+ version = "0.3"
+ default-features = false
+
+-[dev-dependencies.pyo3]
+-version = "0.13"
+-features = ["auto-initialize"]
+-default-features = false
+-
+ [dev-dependencies.rustversion]
+ version = "1.0"
+
diff --git a/rust-eyre.spec b/rust-eyre.spec
new file mode 100644
index 0000000..87a1ef1
--- /dev/null
+++ b/rust-eyre.spec
@@ -0,0 +1,112 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate eyre
+
+Name: rust-%{crate}
+Version: 0.6.8
+Release: %autorelease
+Summary: Flexible concrete Error Reporting type built on std::error::Error with
customizable Reports
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/eyre
+Source: %{crates_source}
+# Drop optional pyo3/auto-initialize dependency, not available yet
+Patch0: eyre-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Flexible concrete Error Reporting type built on std::error::Error with
+customizable Reports.}
+
+%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 %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%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
+
+%package -n %{name}+auto-install-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+auto-install-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "auto-install" feature of the "%{crate}" crate.
+
+%files -n %{name}+auto-install-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+pyo3-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+pyo3-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "pyo3" feature of the "%{crate}" crate.
+
+%files -n %{name}+pyo3-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+track-caller-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+track-caller-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "track-caller" feature of the "%{crate}" crate.
+
+%files -n %{name}+track-caller-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..97bfcb1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (eyre-0.6.8.crate) =
0a54e2ce9d58e80596ab7d55f0f913fe3d9bad6cdc5f56b9aa4683732e2d409e288a579e89b300e35a822f56017524b2ebbc0e60860b9dd6e479080f7cb14324