The package rpms/rust-memmap2_0.3.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-memmap2_0.3.git/commit/?id=7....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 7cbbef18ee0e899fdb00e3be87e44bc08d357279
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Apr 14 19:34:24 2022 +0200
Initial import (memmap2 0.3 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3f81be7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/memmap2-0.3.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index b5bd6ab..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-memmap2_0.3
-
-The rust-memmap2_0.3 package
diff --git a/rust-memmap2_0.3.spec b/rust-memmap2_0.3.spec
new file mode 100644
index 0000000..b61888c
--- /dev/null
+++ b/rust-memmap2_0.3.spec
@@ -0,0 +1,73 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate memmap2
+
+Name: rust-%{crate}_0.3
+Version: 0.3.1
+Release: %autorelease
+Summary: Cross-platform Rust API for memory-mapped file IO
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/memmap2
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Cross-platform Rust API for memory-mapped file IO.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CHANGELOG.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%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 the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/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..f5696dc
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (memmap2-0.3.1.crate) =
1cf08cd046581d882fa78cc1e6efbb2e5814dada9ee866811732dcde776fd8c0cde2f03167010f32bb4984533e787536ef1954a1152a70d7f0278d5adfa96b28