The package rpms/rust-pistoncore-input.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-pistoncore-input.git/commit/?id....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit c1d7d8eea1fbff443e2650f8cd35319599fa1d9d Author: Rémi Lauzier remilauzier@protonmail.com Date: Wed Feb 23 11:49:48 2022 -0500
Initial import; Fixes RHBZ#1982886
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c321714 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/pistoncore-input-1.0.0.crate +/pistoncore-input-1.0.1.crate diff --git a/rust-pistoncore-input.spec b/rust-pistoncore-input.spec new file mode 100644 index 0000000..c00efc7 --- /dev/null +++ b/rust-pistoncore-input.spec @@ -0,0 +1,71 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate pistoncore-input + +Name: rust-%{crate} +Version: 1.0.1 +Release: %autorelease +Summary: Structure for user input + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/pistoncore-input +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Structure for user input.} + +%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..6d9b7a9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (pistoncore-input-1.0.1.crate) = 1995b26b7b53f21744dd55dd6d1f9370a992f4c80a554c2740db38a8252a1d824831c201279356924cf4b81a5dabc836884cc070d2f262cedc6584bb1dc31945