The package rpms/rust-ron.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-ron.git/commit/?id=06271f61f....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 06271f61f6d2747e35a76e118e890106b8d3988f
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sun Apr 28 10:17:38 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..fb8c4c4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/ron-0.5.1.crate
diff --git a/rust-ron.spec b/rust-ron.spec
new file mode 100644
index 0000000..43ee047
--- /dev/null
+++ b/rust-ron.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate ron
+
+Name: rust-%{crate}
+Version: 0.5.1
+Release: 1%{?dist}
+Summary: Rusty Object Notation
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/ron
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(base64/default) >= 0.10.0 with crate(base64/default) <
0.11.0)
+BuildRequires: (crate(bitflags/default) >= 1.0.0 with crate(bitflags/default) <
2.0.0)
+BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
+BuildRequires: (crate(serde/serde_derive) >= 1.0.0 with crate(serde/serde_derive)
< 2.0.0)
+%if %{with check}
+BuildRequires: (crate(serde_bytes/default) >= 0.10.0 with crate(serde_bytes/default)
< 0.11.0)
+BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default)
< 2.0.0)
+%endif
+
+%global _description \
+RON is a simple readable data serialization format that looks similar to Rust\
+syntax. It's designed to support all of Serde's data model, so structs, enums,\
+tuples, arrays, generic maps, and primitive values.
+
+%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
+%doc README.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
+* Sat Apr 27 23:09:55 EEST 2019 Artem Polishchuk <ego.cordatus(a)gmail.com> -
0.5.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..ac1c53a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (ron-0.5.1.crate) =
63b0ad38121218ee382f2817a66c9d445449deeb263d4541689601aea45e8e4b2728011e8e33bff6792922860f728f99e2a36d6565dd0077a5cbdc29c5941c69
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..50c3325
--- /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-ron