The package rpms/rust-prost0.7.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.7.git/commit/?id=799d....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 799d2e331f2f9b3f820bb44e862d78c849d25cad
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Aug 2 17:41:13 2022 +0200
Initial import (prost 0.7 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9b0904d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/prost-0.7.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index d6caf90..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-prost0.7
-
-The rust-prost0.7 package
diff --git a/prost-fix-metadata.diff b/prost-fix-metadata.diff
new file mode 100644
index 0000000..c3612bb
--- /dev/null
+++ b/prost-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- prost-0.7.0/Cargo.toml 2020-12-27T23:23:40+00:00
++++ prost-0.7.0/Cargo.toml 2022-08-02T12:12:56.556137+00:00
+@@ -38,8 +38,6 @@
+ [dependencies.prost-derive]
+ version = "0.7.0"
+ optional = true
+-[dev-dependencies.criterion]
+-version = "0.3"
+
+ [dev-dependencies.env_logger]
+ version = "0.8"
diff --git a/rust-prost0.7.spec b/rust-prost0.7.spec
new file mode 100644
index 0000000..0a9a6b6
--- /dev/null
+++ b/rust-prost0.7.spec
@@ -0,0 +1,114 @@
+# 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.7
+Version: 0.7.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}/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..2072fe3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (prost-0.7.0.crate) =
ee080e005f908dc6eac0b583db018498edf2306c9d4a01106cde944eff2418de3024874a9d691336e4d0e3816b2f274195ea86dc0f4d7b9b3f29bb4029c63dec