The package rpms/rust-strict.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-strict.git/commit/?id=3e4f6874d....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 3e4f6874d9d3658667b56a625e87c4e39c44a7e4 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sat Feb 12 20:37:07 2022 -0800
Initial import; Fixes: RHBZ#2035560
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9c1521b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/strict-0.1.4.crate diff --git a/rust-strict.spec b/rust-strict.spec new file mode 100644 index 0000000..105b028 --- /dev/null +++ b/rust-strict.spec @@ -0,0 +1,71 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate strict + +Name: rust-%{crate} +Version: 0.1.4 +Release: %autorelease +Summary: NonEmptyVec, a vec guaranteed to hold at least one element + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/strict +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +NonEmptyVec, a vec guaranteed to hold at least one element.} + +%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 LICENSE +%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 the "default" feature of the "%{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 +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..1e04490 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (strict-0.1.4.crate) = 0d6e23221d06e040bb4351c0558405a3271b2f0aed4a365560a2dd66cf1f1c7b931a81c28847472b724aaecd28304285858ba8a2c44fda3d5c6456638e3a3a75
arch-excludes@lists.fedoraproject.org