The package rpms/rust-prost0.8.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-prost0.8.git/commit/?id=b5df....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b5dfbf99e6624067ce5727e5f3d9d20018adcc1d
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Jul 28 23:10:55 2022 +0200
Initial import (prost 0.8 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bf2b3cd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/prost-0.8.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index f5f773b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-prost0.8
-
-The rust-prost0.8 package
diff --git a/prost-fix-metadata.diff b/prost-fix-metadata.diff
new file mode 100644
index 0000000..37542ee
--- /dev/null
+++ b/prost-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- prost-0.8.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ prost-0.8.0/Cargo.toml 2022-07-28T19:03:42.004939+00:00
+@@ -38,8 +38,6 @@
+ [dependencies.prost-derive]
+ version = "0.8.0"
+ optional = true
+-[dev-dependencies.criterion]
+-version = "0.3"
+
+ [dev-dependencies.env_logger]
+ version = "0.8"
diff --git a/rust-prost0.8.spec b/rust-prost0.8.spec
new file mode 100644
index 0000000..3355a63
--- /dev/null
+++ b/rust-prost0.8.spec
@@ -0,0 +1,115 @@
+# Generated by rust2rpm 22
+# * compiling tests fails with OOM issues on 32-bit architectures
+%ifarch %{ix86} %{arm}
+%bcond_with check
+%else
+%bcond_without check
+%endif
+%global debug_package %{nil}
+
+%global crate prost
+
+Name: rust-prost0.8
+Version: 0.8.0
+Release: %autorelease
+Summary: Protocol Buffers implementation for the Rust Language
+
+License: Apache-2.0
+URL:
https://crates.io/crates/prost
+Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only criterion dev-dependency to speed up builds
+Patch: prost-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Protocol Buffers implementation for the Rust Language.}
+
+%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
+%doc %{crate_instdir}/FUZZING.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}+no-recursion-limit-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+no-recursion-limit-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "no-recursion-limit" feature of the "%{crate}" crate.
+
+%files -n %{name}+no-recursion-limit-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+prost-derive-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+prost-derive-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "prost-derive" feature of the "%{crate}" crate.
+
+%files -n %{name}+prost-derive-devel
+%ghost %{crate_instdir}/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 %{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..c4693f3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (prost-0.8.0.crate) =
6a1502d868a6140576e28ba72dca83cf316ab2f3da32a1ed489444480dce3b7844dfd0b5d5895d6f5cf7f3b35ff317023aa91562ae1c11b9f1ba27357a7ab6f4