The package rpms/rust-local-channel.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-local-channel.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit ce4fdc3d6dd4f33b097cd77966eedb20727fb0ea
Author: Anderson Toshiyuki Sasaki <ansasaki(a)redhat.com>
Date: Mon May 9 16:38:20 2022 +0200
Initial import (fedora#2082693).
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki(a)redhat.com>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..2dbca0e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/local-channel-0.1.3.crate
diff --git a/local-channel-fix-metadata.diff b/local-channel-fix-metadata.diff
new file mode 100644
index 0000000..714094b
--- /dev/null
+++ b/local-channel-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- local-channel-0.1.3/Cargo.toml 2022-05-06 20:27:43.119741659 +0200
++++ local-channel-0.1.3/Cargo.toml 2022-05-06 20:34:35.422375671 +0200
+@@ -40,3 +40,7 @@
+
+ [dependencies.local-waker]
+ version = "0.1"
++
++[dev-dependencies.tokio]
++version = "1.13.1"
++features = ["rt", "macros"]
diff --git a/rust-local-channel.spec b/rust-local-channel.spec
new file mode 100644
index 0000000..aa84560
--- /dev/null
+++ b/rust-local-channel.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate local-channel
+
+Name: rust-%{crate}
+Version: 0.1.3
+Release: %autorelease
+Summary: Non-threadsafe multi-producer, single-consumer, futures-aware, FIFO
queue
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/local-channel
+Source: %{crates_source}
+# Initial patched metadata
+# add missing tokio dev-dependency
+Patch0: local-channel-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Non-threadsafe multi-producer, single-consumer, futures-aware, FIFO queue.}
+
+%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}/CHANGES.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..f02ab86
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (local-channel-0.1.3.crate) =
886d280c996d706b5d1fbc0f215db9faf7d410009c29cad97e400264d696238d20792abb71f7be4590aea9d1311bc545fbd3ff0b4448b75f8d220c90d77c3ce4