The package rpms/rust-shared_library.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-shared_library.git/commit/?id=a....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit a16fc9e849ccd504eabca8e76de3e6ea57da6ed8 Author: returntrip stefano@figura.im Date: Mon Jun 29 23:11:05 2020 +0200
Initial import (1849709).
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ad261e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/shared_library-0.1.9.crate diff --git a/rust-shared_library.spec b/rust-shared_library.spec new file mode 100644 index 0000000..250222b --- /dev/null +++ b/rust-shared_library.spec @@ -0,0 +1,77 @@ +# Generated by rust2rpm 13 +# https://github.com/tomaka/shared_library/issues/17 +%ifnarch aarch64 ppc64 ppc64le +%bcond_without check +%endif +%global debug_package %{nil} + +%global crate shared_library + +Name: rust-%{crate} +Version: 0.1.9 +Release: 1%{?dist} +Summary: Easily bind to and load shared libraries + +# Upstream license specification: Apache-2.0/MIT +License: ASL 2.0 or MIT +URL: https://crates.io/crates/shared_library +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Easily bind to and load shared libraries.} + +%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-APACHE LICENSE-MIT +%{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 +* Fri May 29 10:25:04 CEST 2020 returntrip stefano@figura.im - 0.1.9-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..7d5b6aa --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (shared_library-0.1.9.crate) = 8696f5d9ae976b04ac3f559ff1c4945c5554fc741bd9e62207a475a331f8c90fa8c2d583ac9cf96dd18fd543b65fc469aa76dad2f526c00c68182130d4396462
arch-excludes@lists.fedoraproject.org