The package rpms/rust-mio-extras.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-mio-extras.git/commit/?id=f6....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit f6dffe096313856cbf840b1a9c2fb1a2bed9c243
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Mon Jul 23 16:34:38 2018 +0200
initial import
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4ec0252
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/mio-extras-2.0.5.crate
diff --git a/rust-mio-extras.spec b/rust-mio-extras.spec
new file mode 100644
index 0000000..32320db
--- /dev/null
+++ b/rust-mio-extras.spec
@@ -0,0 +1,62 @@
+# Generated by rust2rpm
+# Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate mio-extras
+
+Name: rust-%{crate}
+Version: 2.0.5
+Release: 1%{?dist}
+Summary: Extra components for use with Mio
+
+#
https://github.com/dimbleby/mio-extras/pull/1
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/mio-extras
+Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+# [dependencies]
+BuildRequires: (crate(lazycell) >= 1.0.0 with crate(lazycell) < 2.0.0)
+BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
+BuildRequires: (crate(mio) >= 0.6.14 with crate(mio) < 0.7.0)
+BuildRequires: (crate(slab) >= 0.4.0 with crate(slab) < 0.5.0)
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Extra components for use with Mio.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md CHANGELOG.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Sun Jul 22 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 2.0.5-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..ba67766
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (mio-extras-2.0.5.crate) =
743fc56546d8bcb09efecda0d60007a175a2db2a75dc882b21fedeb8fc4fcfe98ac0a6d55b0e843b088aac4e24e57145d96b372cdfa39933efee2514ba2ebba9
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..7af99fe
--- /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-mio-extras