The package rpms/rust-type-map.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-type-map.git/commit/?id=d8aaeb6....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit d8aaeb6ae4024984cc1957d00cf18bb9487a512d Author: Link Dupont link@sub-pop.net Date: Mon Nov 15 12:29:10 2021 -0500
initial package
Relates: RHBZ#2009926
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..700f8bc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/type-map-0.4.0.crate diff --git a/rust-type-map.spec b/rust-type-map.spec new file mode 100644 index 0000000..653722a --- /dev/null +++ b/rust-type-map.spec @@ -0,0 +1,74 @@ +# Generated by rust2rpm 18 +%bcond_without check +%global debug_package %{nil} + +%global crate type-map + +Name: rust-%{crate} +Version: 0.4.0 +Release: 1%{?dist} +Summary: Provides a typemap container with FxHashMap + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/type-map +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Provides a typemap container with FxHashMap.} + +%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 +%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 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Sat Oct 02 2021 Link Dupont linkdupont@fedoraproject.org - 0.4.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..3ab15e5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (type-map-0.4.0.crate) = c3e81d6dd94d5d8266bf409efb9e9ce6fb5d5889d672422b1f85f406ab62c58e27af5b6031ba5699af9d70c90bd8fca913c7ae0fb75f64358e3b7989f3d32099