The package rpms/rust-memmap2_0.1.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.1.git/commit/?id=2....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2ef8c4abebe717a0f92e1fb578dd101d28ef480f
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Jun 18 14:15:43 2021 +0200
initial import (memmap2 0.1 compat package)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..64cfa36
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/memmap2-0.1.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index b586b9a..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-memmap2_0.1
-
-The rust-memmap2_0.1 package
diff --git a/rust-memmap2_0.1.spec b/rust-memmap2_0.1.spec
new file mode 100644
index 0000000..979ffc5
--- /dev/null
+++ b/rust-memmap2_0.1.spec
@@ -0,0 +1,77 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate memmap2
+
+Name: rust-%{crate}_0.1
+Version: 0.1.0
+Release: 1%{?dist}
+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}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%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 "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.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
+#
https://github.com/RazrFalcon/memmap2-rs/pull/1
+rm -vr ci/
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Jun 18 2021 Fabio Valentini <decathorpe(a)gmail.com> - 0.1.0-1
+- Initial compat package for memmap2 0.1
diff --git a/sources b/sources
new file mode 100644
index 0000000..436c891
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (memmap2-0.1.0.crate) =
5db391d7a4208e141aba27462687ffe9ab7bcd633ac66a28f0e19a985aa2cbf5f903b46a08fa9f1d1f136e9d55cd4cf8a98b312bcf744578f9311b0d0a4c8c69