The package rpms/rust-fn-error-context.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-fn-error-context.git/commit/?id....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 83ee2d99a3fc8a1d86ed6c1bcef617fdf3643ab1 Author: Fabio Valentini decathorpe@gmail.com Date: Mon May 17 01:03:30 2021 +0200
initial import (#1960654)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1c827b6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/fn-error-context-0.1.2.crate diff --git a/README.md b/README.md deleted file mode 100644 index 87ec3d5..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-fn-error-context - -The rust-fn-error-context package diff --git a/rust-fn-error-context.spec b/rust-fn-error-context.spec new file mode 100644 index 0000000..0567c71 --- /dev/null +++ b/rust-fn-error-context.spec @@ -0,0 +1,76 @@ +# Generated by rust2rpm 17 +%bcond_without check +%global debug_package %{nil} + +%global crate fn-error-context + +Name: rust-%{crate} +Version: 0.1.2 +Release: 1%{?dist} +Summary: Attribute macro to add context to errors from a function + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/fn-error-context +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Attribute macro to add context to errors from a function.} + +%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 CHANGELOG.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 +# skip brittle trybuild tests +%cargo_test -- -- --skip tests +%endif + +%changelog +* Fri May 14 2021 Fabio Valentini decathorpe@gmail.com - 0.1.2-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..216779d --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (fn-error-context-0.1.2.crate) = ee57a60f6e134798ebb68a2119b95bd5e0edba59c926bfe1c208b703d12f7804a7876a407c3e5fd45c52b9271607afd4bea764d9d43f99d2f9724aa3f18bfa0b
arch-excludes@lists.fedoraproject.org