The package rpms/rust-async-global-executor.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-global-executor.git/co....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f3e3275e44b654821fd3c094ea453a53b4ce71ae
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri May 28 20:33:07 2021 +0200
initial import (#1965127)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..babf8a0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/async-global-executor-2.0.2.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index d7adcf2..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-async-global-executor
-
-The rust-async-global-executor package
diff --git a/async-global-executor-fix-metadata.diff
b/async-global-executor-fix-metadata.diff
new file mode 100644
index 0000000..87cf511
--- /dev/null
+++ b/async-global-executor-fix-metadata.diff
@@ -0,0 +1,20 @@
+--- async-global-executor-2.0.2/Cargo.toml 2021-01-11T14:17:04+00:00
++++ async-global-executor-2.0.2/Cargo.toml 2021-04-28T23:05:35.041279+00:00
+@@ -62,12 +62,6 @@
+ default-features = false
+ package = "tokio"
+
+-[dependencies.tokio03-crate]
+-version = "^0.3.4"
+-features = ["rt", "rt-multi-thread"]
+-optional = true
+-default-features = false
+-package = "tokio"
+ [dev-dependencies.doc-comment]
+ version = "^0.3"
+
+@@ -75,4 +69,3 @@
+ default = ["async-io"]
+ tokio = ["tokio-crate"]
+ tokio02 = ["tokio02-crate"]
+-tokio03 = ["tokio03-crate"]
diff --git a/rust-async-global-executor.spec b/rust-async-global-executor.spec
new file mode 100644
index 0000000..3916ed3
--- /dev/null
+++ b/rust-async-global-executor.spec
@@ -0,0 +1,138 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate async-global-executor
+
+Name: rust-%{crate}
+Version: 2.0.2
+Release: 1%{?dist}
+Summary: Global executor built on top of async-executor and async-io
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/async-global-executor
+Source: %{crates_source}
+# Initial patched metadata
+# * drop tokio 0.3 feature and dependency
+Patch0: async-global-executor-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Global executor built on top of async-executor and async-io.}
+
+%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
+
+%package -n %{name}+async-io-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+async-io-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "async-io" feature of "%{crate}" crate.
+
+%files -n %{name}+async-io-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tokio-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tokio-crate-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio-crate-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio-crate" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio-crate-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tokio02-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio02-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio02" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio02-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+tokio02-crate-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+tokio02-crate-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "tokio02-crate" feature of "%{crate}" crate.
+
+%files -n %{name}+tokio02-crate-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
+* Tue May 25 2021 Fabio Valentini <decathorpe(a)gmail.com> - 2.0.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..aefb928
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (async-global-executor-2.0.2.crate) =
13d2d0b400832b1965cba680505fd65b87a45a4ab69c110a4a67394e726d340331fe292f6b1079de277d447688a1b97c15c095d106e132d02628892b825a3612