The package rpms/rust-userfaultfd-sys.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-userfaultfd-sys.git/commit/?....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit dfc2c9baa1f58280915e5cf86ef346384a723480
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Apr 15 11:42:22 2022 +0200
Initial import (#2075217)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1cc0f2c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/userfaultfd-sys-0.4.1.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index de6ccb3..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-userfaultfd-sys
-
-The rust-userfaultfd-sys package
diff --git a/rust-userfaultfd-sys.spec b/rust-userfaultfd-sys.spec
new file mode 100644
index 0000000..df082bf
--- /dev/null
+++ b/rust-userfaultfd-sys.spec
@@ -0,0 +1,96 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate userfaultfd-sys
+
+Name: rust-%{crate}
+Version: 0.4.1
+Release: %autorelease
+Summary: Low-level bindings for userfaultfd functionality on Linux
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/userfaultfd-sys
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Low-level bindings for userfaultfd functionality on Linux.}
+
+%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
+%{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
+
+%package -n %{name}+linux4_14-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+linux4_14-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "linux4_14" feature of the "%{crate}" crate.
+
+%files -n %{name}+linux4_14-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+linux5_7-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+linux5_7-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "linux5_7" feature of the "%{crate}" crate.
+
+%files -n %{name}+linux5_7-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
+# * skip a test that only works on old kernel versions
+%cargo_test -- -- --skip linux4_11::const_tests::consts_correct
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..a5d011d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (userfaultfd-sys-0.4.1.crate) =
f766f4e9f5d04c6529fc7379b0f7d8720e1aea3e84338344a84013d58a58bac43543fdd1dc45fa76e3d609dd036ffbd65dfaf651e0a20e9c41e1d3c8e311eee2