The package rpms/rust-automod.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-automod.git/commit/?id=2e738434....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 2e738434ac4198ee50e68292cfa49527ce3282f9 Author: Fabio Valentini decathorpe@gmail.com Date: Mon Oct 18 22:40:38 2021 +0200
Initial import (RHBZ#1998894)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378cc8e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/automod-1.0.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 0f34c68..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-automod - -The rust-automod package diff --git a/rust-automod.spec b/rust-automod.spec new file mode 100644 index 0000000..3ba7696 --- /dev/null +++ b/rust-automod.spec @@ -0,0 +1,74 @@ +# Generated by rust2rpm 18 +%bcond_without check +%global debug_package %{nil} + +%global crate automod + +Name: rust-%{crate} +Version: 1.0.2 +Release: %autorelease +Summary: Pull in every source file in a directory as a module + +# Upstream license specification: MIT OR Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/automod +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Pull in every source file in a directory as a module.} + +%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 +%autochangelog diff --git a/sources b/sources new file mode 100644 index 0000000..aa2f813 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (automod-1.0.2.crate) = 2bf565f475a6fa1d69b3dcf378aec963cd2512be99f35b735d328585b9f8a8416b8e8b33edb5f3c641ef5ada2b8d80afb09581cda534a6e7ec79c2667f476092
arch-excludes@lists.fedoraproject.org