The package rpms/rust-impls.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-impls.git/commit/?id=3a6623bb7d....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 3a6623bb7d2768e185768c8c846a34bdb14cd876 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Sun Jul 10 14:42:20 2022 -0700
Initial import; Fixes: RHBZ#1981141
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7fdbbcf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/impls-1.0.3.crate diff --git a/rust-impls.spec b/rust-impls.spec new file mode 100644 index 0000000..6dd11e6 --- /dev/null +++ b/rust-impls.spec @@ -0,0 +1,72 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate impls + +Name: rust-%{crate} +Version: 1.0.3 +Release: %autorelease +Summary: Determine if a type implements a logical trait expression + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/impls +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Determine if a type implements a logical trait expression.} + +%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 +%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..7d1755b --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (impls-1.0.3.crate) = 8863247d283370772580ed21a208d6387e75e554e96d4132be3f42f5dff667e1cb306a9b177c645b7e0cdeeb5af038e26c0c908c1ddc64837c07f3617d5a5069
arch-excludes@lists.fedoraproject.org