The package rpms/rust-actix-rt.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-actix-rt.git/commit/?id=2450....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2450234db8611192d6be5a3817fc92310487dfb8
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Thu May 30 23:43:41 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..2bae763
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/actix-rt-0.2.2.crate
diff --git a/rust-actix-rt.spec b/rust-actix-rt.spec
new file mode 100644
index 0000000..6af328e
--- /dev/null
+++ b/rust-actix-rt.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 9
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate actix-rt
+
+Name: rust-%{crate}
+Version: 0.2.2
+Release: 1%{?dist}
+Summary: Actix runtime
+
+# Upstream license specification: MIT/Apache-2.0
+#
https://github.com/actix/actix-net/issues/25
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/actix-rt
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(actix-threadpool/default) >= 0.1.0 with
crate(actix-threadpool/default) < 0.2.0)
+BuildRequires: (crate(futures/default) >= 0.1.25 with crate(futures/default) <
0.2.0)
+BuildRequires: (crate(tokio-current-thread/default) >= 0.1.0 with
crate(tokio-current-thread/default) < 0.2.0)
+BuildRequires: (crate(tokio-executor/default) >= 0.1.5 with
crate(tokio-executor/default) < 0.2.0)
+BuildRequires: (crate(tokio-reactor/default) >= 0.1.7 with
crate(tokio-reactor/default) < 0.2.0)
+BuildRequires: (crate(tokio-timer/default) >= 0.2.8 with crate(tokio-timer/default)
< 0.3.0)
+
+%global _description %{expand:
+Actix runtime.}
+
+%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
+%doc CHANGES.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
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Thu May 30 20:50:28 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
0.2.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..e1da258
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (actix-rt-0.2.2.crate) =
b11cfdb21d1832c93b5b3cf6c1a73b23bf15ba512984d70b93f24acdd01025ac2682e016bd595ea2f35c0decf21d1b0a81d2d9799693924c67d74fff25803885
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..196b977
--- /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-actix-rt