The package rpms/rust-async-mutex.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-mutex.git/commit/?id=4....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 4787708a1f82b81668d72976a6cdb2ef7089eb04
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu May 27 00:08:19 2021 +0200
initial import (#1964690)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ff90556
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/async-mutex-1.4.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index fd0e16b..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-async-mutex
-
-The rust-async-mutex package
diff --git a/rust-async-mutex.spec b/rust-async-mutex.spec
new file mode 100644
index 0000000..244fe87
--- /dev/null
+++ b/rust-async-mutex.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 17
+# * dev-dependencies are outdated
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate async-mutex
+
+Name: rust-%{crate}
+Version: 1.4.0
+Release: 1%{?dist}
+Summary: Async mutex
+
+# Upstream license specification: Apache-2.0 OR MIT
+# * license files are missing from published crates, but the project has been
+# merged into async-lock crate and is no longer developed separately
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/async-mutex
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Async mutex.}
+
+%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
+%{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> - 1.4.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..c46ac71
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (async-mutex-1.4.0.crate) =
5957912e28f9e5a09cf85a0f0ee44e9396161469cedf343bb37dbeddc1dd1bfcfdf4f162fae6e2543edce3e148fb34bf80864e2f35f18e6d4f6fc9190b1179bd