The package rpms/rust-tokio-socks0.3.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-tokio-socks0.3.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 44f351275dedfb74009bafb05cf7383720ae669c
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Mar 11 00:06:43 2021 +0100
initial import (tokio-socks 0.3 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..9fac3ab
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/tokio-socks-0.3.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index eac53a0..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-tokio-socks0.3
-
-The rust-tokio-socks0.3 package
diff --git a/rust-tokio-socks0.3.spec b/rust-tokio-socks0.3.spec
new file mode 100644
index 0000000..cb69a84
--- /dev/null
+++ b/rust-tokio-socks0.3.spec
@@ -0,0 +1,89 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate tokio-socks
+
+Name: rust-%{crate}0.3
+Version: 0.3.0
+Release: 1%{?dist}
+Summary: Asynchronous SOCKS proxy support for Rust
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/tokio-socks
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Asynchronous SOCKS proxy support for Rust.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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 "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tor-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tor-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tor" feature of "%{crate}" crate.
+
+%files -n %{name}+tor-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
+# We are not interested in running integration tests
+%cargo_test -- --lib
+%cargo_test -- --doc
+%endif
+
+%changelog
+* Thu Mar 11 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.3.0-1
+- Initial compat package for tokio-socks 0.3
diff --git a/sources b/sources
new file mode 100644
index 0000000..99d3fc3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tokio-socks-0.3.0.crate) =
27bc42e125ca189dd74b6dc6494b3847ec5f8274747a4b7aacbe3bf3bd29dce89a8afaf67307adb242787bdb5e5769789b0599f2b03e726cf2d77440c65cba27