The package rpms/rust-utf8-cstr.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-utf8-cstr.git/commit/?id=779....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 779c5d2c286a370ccd37239139ea2fd117420ba5
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Tue Apr 27 17:28:40 2021 -0400
Initial import (rhbz1944412)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..8a392bc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/utf8-cstr-0.1.6.crate
diff --git a/rust-utf8-cstr.spec b/rust-utf8-cstr.spec
new file mode 100644
index 0000000..e39c5b5
--- /dev/null
+++ b/rust-utf8-cstr.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate utf8-cstr
+
+Name: rust-%{crate}
+Version: 0.1.6
+Release: 1%{?dist}
+Summary: Type wrappers promising null termination and utf-8 validity
+
+# Upstream license specification: Apache-2.0 OR MIT
+# readme and license not present bug:
https://github.com/jmesmon/utf8-cstr/issues/2
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/utf8-cstr
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Type wrappers promising null termination and utf-8 validity. The intersection
+of `std::ffi::CStr` and `str`.}
+
+%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
+* Mon Mar 29 17:28:39 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.1.6-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..9fa855b
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (utf8-cstr-0.1.6.crate) =
5e9f8375c270619a6751ecf59d2cfcf5b7e33c39069168d5d5a00b2ba0d137824955438e8da205f8bfc485eb85eb1821b90ed5331f12da47aa8da75d9c1599d8