The package rpms/rust-z85.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-z85.git/commit/?id=119993425b16....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 119993425b1619867ceb9598e641d03280547265 Author: Davide Cavalca dcavalca@fedoraproject.org Date: Wed Aug 10 20:54:16 2022 -0700
Initial import; Fixes: RHBZ#2107942
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..943fd80 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/z85-3.0.5.crate diff --git a/rust-z85.spec b/rust-z85.spec new file mode 100644 index 0000000..96a63ff --- /dev/null +++ b/rust-z85.spec @@ -0,0 +1,72 @@ +# Generated by rust2rpm 21 +%bcond_without check +%global debug_package %{nil} + +%global crate z85 + +Name: rust-%{crate} +Version: 3.0.5 +Release: %autorelease +Summary: Rust implementation of ZeroMQ's Z85 encoding mechanism with padding + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/z85 +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} + +BuildRequires: rust-packaging >= 21 + +%global _description %{expand: +Rust implementation of ZeroMQ's Z85 encoding mechanism with padding.} + +%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 %{crate_instdir}/LICENSE-Apache +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ + +%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 +%ghost %{crate_instdir}/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..3cd5a0f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (z85-3.0.5.crate) = 8b9c3d095ae51b7d0a9183373e8e47635ba1777d86466e160748bab67a45265b90308189efaf0a5a8eefa7c08ffd08a3ba0580be7ad7bafc7fdce463ec05d0dd