The package rpms/rust-conv.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-conv.git/commit/?id=ecfd5c22b86....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit ecfd5c22b868a10fa4c870333974b99a9417d44d Author: Randy Barlow randy@electronsweatshop.com Date: Wed Jan 29 10:36:01 2020 -0500
Initial import
Signed-off-by: Randy Barlow randy@electronsweatshop.com
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4eb30d9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/conv-0.3.3.crate diff --git a/rust-conv.spec b/rust-conv.spec new file mode 100644 index 0000000..1d17018 --- /dev/null +++ b/rust-conv.spec @@ -0,0 +1,82 @@ +# Generated by rust2rpm 13 +# Upstream requires a much older quickcheck that is available in Fedora, so disable tests for now. +%bcond_with check +%global debug_package %{nil} + +%global crate conv + +Name: rust-%{crate} +Version: 0.3.3 +Release: 1%{?dist} +Summary: Number of conversion traits with more specific semantics + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/conv +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: dos2unix +BuildRequires: rust-packaging + +%global _description %{expand: +Number of conversion traits with more specific semantics than those provided by +'as' or 'From'/'Into'.} + +%description %{_description} + +%package devel +Summary: %{summary} +License: MIT +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages +which use "%{crate}" crate. + +%files devel +%doc README.md +%license LICENSE +%{cargo_registry}/%{crate}-%{version_no_tilde}/ + +%package -n %{name}+default-devel +Summary: %{summary} +License: MIT +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 +%license LICENSE +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +dos2unix README.md +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Tue Jan 21 11:59:45 EST 2020 Randy Barlow randy@electronsweatshop.com - 0.3.3-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..1f73a3a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (conv-0.3.3.crate) = f050cff8528f0fb5a8dd936995c423c5478afc47041c3a8cc8611ceae3228098b80589fdadf78d0028e960fa354768440dd7084cf295a29f2c6aeb554f47a8cb
arch-excludes@lists.fedoraproject.org