The package rpms/rust-serial-core.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-serial-core.git/commit/?id=c041....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit c041a2cd50040d39f9df1840692db2200b33f2fc Author: Davide Cavalca dcavalca@fedoraproject.org Date: Mon May 10 09:45:07 2021 -0700
import #1957907
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a9a73aa --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/serial-core-0.4.0.crate diff --git a/rust-serial-core.spec b/rust-serial-core.spec new file mode 100644 index 0000000..3664a5b --- /dev/null +++ b/rust-serial-core.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate serial-core + +Name: rust-%{crate} +Version: 0.4.0 +Release: 1%{?dist} +Summary: Rust abstractions for serial ports + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/serial-core +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Rust abstractions for serial ports.} + +%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 +%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 "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 +* Thu May 06 11:15:38 PDT 2021 Davide Cavalca dcavalca@fedoraproject.org - 0.4.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..814bc42 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (serial-core-0.4.0.crate) = c9068f3097acf379370857bef89a5fcbf441741cadbf9cd3a524df6cd33c4b4918e1e521a871713db392c941186492506743865b2447bb62a3b2cf03de50ca92