The package rpms/rust-subprocess.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-subprocess.git/commit/?id=b0....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b0381c9c5dbb715b1c0da6580ab631fd7faa86a0
Author: Davide Cavalca <dcavalca(a)fedoraproject.org>
Date: Mon Dec 6 09:07:29 2021 -0800
Initial import; Fixes: RHBZ#1987150
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..53b3169
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/subprocess-0.2.7.crate
diff --git a/rust-subprocess.spec b/rust-subprocess.spec
new file mode 100644
index 0000000..502d82e
--- /dev/null
+++ b/rust-subprocess.spec
@@ -0,0 +1,88 @@
+# Generated by rust2rpm 18
+%bcond_without check
+
+%global crate subprocess
+
+Name: rust-%{crate}
+Version: 0.2.7
+Release: %autorelease
+Summary: Execution of and interaction with external processes and pipelines
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/subprocess
+Source: %{crates_source}
+# Drop Windows dependencies
+Patch0: subprocess-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Execution of child processes and pipelines, inspired by Python's subprocess
+module, with Rust-specific extensions.}
+
+%description %{_description}
+
+%if ! %{__cargo_skip_build}
+%package -n %{crate}
+Summary: %{summary}
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%license LICENSE-MIT LICENSE-APACHE
+%doc examples README.md
+%{_bindir}/just-echo
+%endif
+
+%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-MIT LICENSE-APACHE
+%doc examples README.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
+
+%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..00ff307
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (subprocess-0.2.7.crate) =
feddb600a9d08c0a301d8e29abfa38d1498e40e44e91e14f29cba3f118b19fb203d3ce3ed71bcbd627efe06f6f2943c153090678eb7b5dffa04e2a5db4f09929
diff --git a/subprocess-fix-metadata.diff b/subprocess-fix-metadata.diff
new file mode 100644
index 0000000..b317155
--- /dev/null
+++ b/subprocess-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- subprocess-0.2.7/Cargo.toml 1970-01-01T00:00:00+00:00
++++ subprocess-0.2.7/Cargo.toml 2021-07-29T04:38:43.588866+00:00
+@@ -32,6 +32,3 @@
+
+ [dev-dependencies.tempdir]
+ version = "0.3.7"
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.8"
+-features = ["std", "handleapi", "namedpipeapi",
"processenv", "synchapi", "winerror",
"processthreadsapi", "winbase"]