The package rpms/rust-async-broadcast.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-async-broadcast.git/commit/?....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 8781379918cecb36077c0052050e57040b0df129
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Tue Aug 2 18:18:20 2022 +0200
Initial import (#2110082)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0f719ee
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/async-broadcast-0.4.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 3375462..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-async-broadcast
-
-The rust-async-broadcast package
diff --git a/async-broadcast-fix-metadata.diff b/async-broadcast-fix-metadata.diff
new file mode 100644
index 0000000..92ff34d
--- /dev/null
+++ b/async-broadcast-fix-metadata.diff
@@ -0,0 +1,12 @@
+--- async-broadcast-0.4.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ async-broadcast-0.4.1/Cargo.toml 2022-07-25T21:29:08.526601+00:00
+@@ -39,9 +39,6 @@
+ [dependencies.parking_lot]
+ version = "0.12.1"
+
+-[dev-dependencies.criterion]
+-version = "0.3.5"
+-
+ [dev-dependencies.doc-comment]
+ version = "0.3.3"
+
diff --git a/rust-async-broadcast.spec b/rust-async-broadcast.spec
new file mode 100644
index 0000000..b71f96c
--- /dev/null
+++ b/rust-async-broadcast.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 22
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate async-broadcast
+
+Name: rust-async-broadcast
+Version: 0.4.1
+Release: %autorelease
+Summary: Async broadcast channels
+
+License: MIT OR Apache-2.0
+URL:
https://crates.io/crates/async-broadcast
+Source: %{crates_source}
+# Manually created patch for downstream crate metadata changes
+# * drop unused, benchmark-only criterion dev-dependency to speed up builds
+Patch: async-broadcast-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Async broadcast channels.}
+
+%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
+
+%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..7bfa411
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (async-broadcast-0.4.1.crate) =
b4fe8fb92d957f0988e7d68fdc81153636a3fb30c019dc005fd9a17838fcc6b68e06b84828cad06259dd334a2fa478f5418e0f0d8091f1fe5be7ff59e6e31ef9