The package rpms/rust-indoc.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-indoc.git/commit/?id=6b57310ef4....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 6b57310ef4c94095e614e19a7cf65cffd2057a4b Author: Igor Raits ignatenkobrain@fedoraproject.org Date: Sun Dec 27 14:30:22 2020 +0100
Initial import
Signed-off-by: Igor Raits ignatenkobrain@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f5d59b3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/indoc-1.0.3.crate diff --git a/rust-indoc.spec b/rust-indoc.spec new file mode 100644 index 0000000..d79b969 --- /dev/null +++ b/rust-indoc.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate indoc + +Name: rust-%{crate} +Version: 1.0.3 +Release: 1%{?dist} +Summary: Indented document literals + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/indoc +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Indented document literals.} + +%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-MIT LICENSE-APACHE +%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 +* Sun Dec 27 14:25:29 CET 2020 Igor Raits igor.raits@gmail.com - 1.0.3-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..8a569e5 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (indoc-1.0.3.crate) = 7567c260678386226a3fa6839a7a4d603091096a8df19039584c296b4953cc333ec1dca0a13d1192ea6433743d5ff44ab78b4e8a89414f6ae93d5401d3d2e3f1
arch-excludes@lists.fedoraproject.org