The package rpms/rust-devicemapper-sys.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-devicemapper-sys.git/commit/?id....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit c1e3a51e4495451dbcedcd3a73036c91caf7829f Author: John Baublitz jbaublitz@redhat.com Date: Fri Oct 15 15:27:34 2021 -0400
Initial import (#2012479)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..37d6cd2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/devicemapper-sys-0.1.1.crate diff --git a/rust-devicemapper-sys.spec b/rust-devicemapper-sys.spec new file mode 100644 index 0000000..1828751 --- /dev/null +++ b/rust-devicemapper-sys.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate devicemapper-sys + +Name: rust-%{crate} +Version: 0.1.1 +Release: 1%{?dist} +Summary: Low level bindings for devicemapper + +# Upstream license specification: MPL-2.0 +License: MPLv2.0 +URL: https://crates.io/crates/devicemapper-sys +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Low level bindings for devicemapper.} + +%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.md +%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 +* Sat Oct 09 11:29:19 EDT 2021 John Baublitz jbaublitz@redhat.com - 0.1.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..bf8714e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (devicemapper-sys-0.1.1.crate) = dc69b1cbee2d2ad067cef97918b32af6f8aa9c7ade84e6b0f1ff24680e20f32a95771983621913c6e14ee3bedd8e53a9326e95af556c0b27a94b437c6b7bfc23
arch-excludes@lists.fedoraproject.org