The package rpms/rust-slog-async.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-slog-async.git/commit/?id=7a....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 7a44933ef02d1e703c9665e2341a86c2268e0eb6
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sat Apr 27 14:32:02 2019 +0200
Initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..de25f23
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/slog-async-2.3.0.crate
diff --git a/rust-slog-async.spec b/rust-slog-async.spec
new file mode 100644
index 0000000..3a06c3e
--- /dev/null
+++ b/rust-slog-async.spec
@@ -0,0 +1,96 @@
+# Generated by rust2rpm
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate slog-async
+
+Name: rust-%{crate}
+Version: 2.3.0
+Release: 1%{?dist}
+Summary: Asynchronous drain for slog-rs
+
+# Upstream license specification: MPL-2.0/MIT/Apache-2.0
+License: MPLv2.0 or MIT or ASL 2.0
+URL:
https://crates.io/crates/slog-async
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(slog/default) >= 2.1.0 with crate(slog/default) < 3.0.0)
+BuildRequires: (crate(take_mut/default) >= 0.2.0 with crate(take_mut/default) <
0.3.0)
+BuildRequires: (crate(thread_local/default) >= 0.3.3 with crate(thread_local/default)
< 0.4.0)
+
+%global _description \
+Asynchronous drain for slog-rs.
+
+%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-MPL2
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%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}/Cargo.toml
+
+%package -n %{name}+dynamic-keys-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+dynamic-keys-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "dynamic-keys" feature of "%{crate}" crate.
+
+%files -n %{name}+dynamic-keys-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%package -n %{name}+nested-values-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+nested-values-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "nested-values" feature of "%{crate}" crate.
+
+%files -n %{name}+nested-values-devel
+%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sat Apr 27 08:43:04 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
2.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..b174f4c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (slog-async-2.3.0.crate) =
64551b4dd3fac6c62a52704cf35e7b04ae0f0771aa8cb045434090dfd1e55e36659654fe8c785a7cab2013a9a36770a55a20276affc7bec634545c9b8a2921b5
diff --git a/tests/.fmf/version b/tests/.fmf/version
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/tests/.fmf/version
@@ -0,0 +1 @@
+1
diff --git a/tests/provision.fmf b/tests/provision.fmf
new file mode 100644
index 0000000..503a97c
--- /dev/null
+++ b/tests/provision.fmf
@@ -0,0 +1,5 @@
+---
+standard-inventory-qcow2:
+ qemu:
+ # `cargo test` usually eats more than 1G.
+ m: 4G
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..1e61375
--- /dev/null
+++ b/tests/tests.yml
@@ -0,0 +1,13 @@
+---
+- hosts: localhost
+ roles:
+ - role: standard-test-basic
+ tags:
+ - classic
+ repositories:
+ - repo: "https://src.fedoraproject.org/tests/rust.git"
+ dest: rust
+ tests:
+ - rust/cargo-test
+ environment:
+ pkg: rust-slog-async