The package rpms/rust-async-lock.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-lock.git/commit/?id=09....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 0966a89b701bb88e0fc8fe43d837a85335aad278
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu May 27 00:09:55 2021 +0200
initial import (#1964685)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e424204
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/async-lock-2.4.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index e9ff547..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-async-lock
-
-The rust-async-lock package
diff --git a/async-lock-fix-metadata.diff b/async-lock-fix-metadata.diff
new file mode 100644
index 0000000..cf09e7b
--- /dev/null
+++ b/async-lock-fix-metadata.diff
@@ -0,0 +1,8 @@
+--- async-lock-2.4.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ async-lock-2.4.0/Cargo.toml 2021-04-28T23:24:42.634855+00:00
+@@ -32,5 +32,3 @@
+
+ [dev-dependencies.futures-lite]
+ version = "1.11.0"
+-[target."cfg(target_arch =
\"wasm32\")".dev-dependencies.wasm-bindgen-test]
+-version = "0.3"
diff --git a/rust-async-lock.spec b/rust-async-lock.spec
new file mode 100644
index 0000000..3fc15dc
--- /dev/null
+++ b/rust-async-lock.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate async-lock
+
+Name: rust-%{crate}
+Version: 2.4.0
+Release: 1%{?dist}
+Summary: Async synchronization primitives
+
+# Upstream license specification: Apache-2.0 OR MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/async-lock
+Source: %{crates_source}
+# Initial patched metadata
+# * drop WASM-specific dependencies
+Patch0: async-lock-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Async synchronization primitives.}
+
+%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
+* Tue May 25 2021 Fabio Valentini <decathorpe(a)gmail.com> - 2.4.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..2f68745
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (async-lock-2.4.0.crate) =
c3eade585da23e3aca17be6110290461bc2cb39b9fcca9c35d8ce71669883d8d1ca42fdca64686126dbf063f289b0142c508b7eb852babd702f2cebc4c4290da