The package rpms/rust-memfd.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-memfd.git/commit/?id=efd9d91....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit efd9d916fc7425dbadaacd2609e1574c376c4b59
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Apr 15 11:53:42 2022 +0200
Initial import (#2075219)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a35ba26
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+/memfd-0.4.1.crate
+/LICENSE-APACHE
+/LICENSE-MIT
diff --git a/README.md b/README.md
deleted file mode 100644
index 4c134a3..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-memfd
-
-The rust-memfd package
diff --git a/rust-memfd.spec b/rust-memfd.spec
new file mode 100644
index 0000000..04529d5
--- /dev/null
+++ b/rust-memfd.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate memfd
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Pure-Rust library to work with Linux memfd and sealing
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/memfd
+Source0: %{crates_source}
+#
https://github.com/lucab/memfd-rs/issues/34
+Source1:
https://github.com/lucab/memfd-rs/raw/v0.5.1/LICENSE-APACHE
+Source2:
https://github.com/lucab/memfd-rs/raw/v0.5.1/LICENSE-MIT
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Pure-Rust library to work with Linux memfd and sealing.}
+
+%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}/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
+cp %{SOURCE1} %{SOURCE2} .
+%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..7a4a22e
--- /dev/null
+++ b/sources
@@ -0,0 +1,3 @@
+SHA512 (memfd-0.4.1.crate) =
36a2645a1dce44f5a5f792085cad4db267e592d33cf374aa45a5bb6563b4e61989c65b0a5bd35b1aef247a42836e7232973c85518d404a4b1a88a55dbd7e2982
+SHA512 (LICENSE-APACHE) =
dc6b68d13b8cf959644b935f1192b02c71aa7a5cf653bd43b4480fa89eec8d4d3f16a2278ec8c3b40ab1fdb233b3173a78fd83590d6f739e0c9e8ff56c282557
+SHA512 (LICENSE-MIT) =
8791a902ff20ff61968df3e02545bc9cdbbed3e15815d0dbf72cdb6c70d4eb133760c87abc2a377176dd8366964176f4ff3bd807a644a113d8e7a8e885346bbc