The package rpms/rust-asn1_derive.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-asn1_derive.git/commit/?id=ce94....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit ce947ee750bc34729d4d6014b82e4c9ad87da8d6 Author: Christian Heimes cheimes@redhat.com Date: Thu May 6 18:35:58 2021 +0200
Initial import (#1956365).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..51fad81 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/asn1_derive-0.4.1.crate diff --git a/rust-asn1_derive.spec b/rust-asn1_derive.spec new file mode 100644 index 0000000..5bbda3c --- /dev/null +++ b/rust-asn1_derive.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate asn1_derive + +Name: rust-%{crate} +Version: 0.4.1 +Release: 1%{?dist} +Summary: #[derive] support for asn1 + +# LICENSE file will be added in the next release +# https://github.com/alex/rust-asn1/issues/131 +# Upstream license specification: BSD-3-Clause +License: BSD +URL: https://crates.io/crates/asn1_derive +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +#[derive] support for asn1.} + +%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 +%{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 +* Mon May 03 16:25:50 CEST 2021 Christian Heimes cheimes@redhat.com - 0.4.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..8312a38 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (asn1_derive-0.4.1.crate) = 7ed682338f3d4a0304965199e084223dc1a01b23486307fc992b8a8a918c45179504827ecab7b2a13ca365d1d96f676070d04de0d4646dbc34f3b8d622405e2f
arch-excludes@lists.fedoraproject.org