The package rpms/rust-iptables.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-iptables.git/commit/?id=ab68a02....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit ab68a02df685bb298c2eeb01e6a513582967ee52 Author: Lokesh Mandvekar lsm5@fedoraproject.org Date: Thu Dec 2 10:48:50 2021 -0500
initial build
Signed-off-by: Lokesh Mandvekar lsm5@fedoraproject.org
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7fd883e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/iptables-0.4.3.crate diff --git a/rust-iptables.spec b/rust-iptables.spec new file mode 100644 index 0000000..42e24be --- /dev/null +++ b/rust-iptables.spec @@ -0,0 +1,76 @@ +# Generated by rust2rpm 20 +%bcond_without check +%global debug_package %{nil} + +%global crate iptables + +Name: rust-%{crate} +Version: 0.4.3 +Release: 2%{?dist} +Summary: Rust bindings for iptables + +# Upstream license specification: MIT +License: MIT +URL: https://crates.io/crates/iptables +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging + +%global _description %{expand: +Rust bindings for iptables.} + +%description %{_description} + +%package devel +Summary: %{summary} +BuildArch: noarch + +%description devel %{_description} + +This package contains library source intended for building other packages which +use the "%{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 the "default" feature of the "%{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 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +#%%cargo_test +%endif + +%changelog +* Thu Dec 02 2021 Lokesh Mandvekar lsm5@fedoraproject.org - 0.4.3-2 +- install license file for all subpackages + +* Wed Dec 01 2021 Lokesh Mandvekar lsm5@fedoraproject.org - 0.4.3-1 +- Resolves: #2028227 - initial package diff --git a/sources b/sources new file mode 100644 index 0000000..c8b656e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (iptables-0.4.3.crate) = c88ca3289a4f8a69c98606bac4d9a83e066d7d3325f9065b51228721a75d5fce628a690ab4f6b4ab5cfa76dcfaf849922a8f903acb6a5138d9bc8c3d76a537c2
arch-excludes@lists.fedoraproject.org