The package rpms/rust-async-process.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-process.git/commit/?id....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit cc992a2038a0d7ae5e360cdf7bf50284b82029a9
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Mon May 31 13:22:45 2021 +0200
initial import (#1965661)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..83a577c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/async-process-1.1.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index 7618f40..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-async-process
-
-The rust-async-process package
diff --git a/async-process-fix-metadata.diff b/async-process-fix-metadata.diff
new file mode 100644
index 0000000..14155ee
--- /dev/null
+++ b/async-process-fix-metadata.diff
@@ -0,0 +1,13 @@
+--- async-process-1.1.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ async-process-1.1.0/Cargo.toml 2021-04-28T23:50:25.484106+00:00
+@@ -43,10 +43,3 @@
+ version = "0.3.0"
+ features = ["iterator"]
+ default-features = false
+-[target."cfg(windows)".dependencies.blocking]
+-version = "1.0.0"
+-
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.3.9"
+-features = ["winbase", "winnt"]
+-default-features = false
diff --git a/rust-async-process.spec b/rust-async-process.spec
new file mode 100644
index 0000000..83eb831
--- /dev/null
+++ b/rust-async-process.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate async-process
+
+Name: rust-%{crate}
+Version: 1.1.0
+Release: 1%{?dist}
+Summary: Async interface for working with processes
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/async-process
+Source: %{crates_source}
+# Initial patched metadata
+# * drop windows-specific dependencies
+Patch0: async-process-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Async interface for working with processes.}
+
+%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-APACHE LICENSE-MIT
+%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
+
+%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
+* Fri May 28 2021 Fabio Valentini <decathorpe(a)gmail.com> - 1.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..dca1af6
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (async-process-1.1.0.crate) =
02d8313119a8ed3ec80ac7998531ce2b3f3a47d2db4ae864705d9d9a8d1e7b8cfe50b6685990988e2664dd9c95356f2263f2f05d606ae7558c75e2aa89c2c34a