The package rpms/rust-tera.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-tera.git/commit/?id=5d6a8602....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 5d6a86023f485ded5e3db5bbe77974870d0652c3
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Sat Jun 1 08:18:00 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..a3cdda4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/tera-1.0.0-beta.7.crate
diff --git a/rust-tera.spec b/rust-tera.spec
new file mode 100644
index 0000000..13c3324
--- /dev/null
+++ b/rust-tera.spec
@@ -0,0 +1,99 @@
+# Generated by rust2rpm 9
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate tera
+
+Name: rust-%{crate}
+Version: 1.0.0~beta.7
+Release: 1%{?dist}
+Summary: Template engine based on Jinja2/Django templates
+
+# Upstream license specification: MIT
+License: MIT
+URL:
https://crates.io/crates/tera
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+BuildRequires: (crate(chrono/default) >= 0.4.0 with crate(chrono/default) <
0.5.0)
+BuildRequires: (crate(globwalk/default) >= 0.7.0 with crate(globwalk/default) <
0.8.0)
+BuildRequires: (crate(humansize/default) >= 1.0.0 with crate(humansize/default) <
2.0.0)
+BuildRequires: (crate(lazy_static/default) >= 1.0.0 with crate(lazy_static/default)
< 2.0.0)
+BuildRequires: (crate(pest/default) >= 2.0.0 with crate(pest/default) < 3.0.0)
+BuildRequires: (crate(pest_derive/default) >= 2.0.0 with crate(pest_derive/default)
< 3.0.0)
+BuildRequires: (crate(regex/default) >= 1.0.0 with crate(regex/default) < 2.0.0)
+BuildRequires: (crate(serde/default) >= 1.0.0 with crate(serde/default) < 2.0.0)
+BuildRequires: (crate(serde_json/default) >= 1.0.0 with crate(serde_json/default)
< 2.0.0)
+BuildRequires: (crate(slug/default) >= 0.1.0 with crate(slug/default) < 0.2.0)
+BuildRequires: (crate(unic-segment/default) >= 0.9.0 with crate(unic-segment/default)
< 0.10.0)
+BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0)
+BuildRequires: (crate(v_htmlescape/default) >= 0.4.0 with crate(v_htmlescape/default)
< 0.5.0)
+%if %{with check}
+BuildRequires: (crate(pretty_assertions/default) >= 0.6.0 with
crate(pretty_assertions/default) < 0.7.0)
+BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default)
< 2.0.0)
+BuildRequires: (crate(tempfile/default) >= 3.0.0 with crate(tempfile/default) <
4.0.0)
+%endif
+
+%global _description %{expand:
+Template engine based on Jinja2/Django templates.}
+
+%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
+%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}+preserve_order-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+preserve_order-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "preserve_order" feature of "%{crate}" crate.
+
+%files -n %{name}+preserve_order-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
+* Fri May 31 11:23:23 CEST 2019 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> -
1.0.0~beta.7-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..5502b77
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (tera-1.0.0-beta.7.crate) =
1ba52207c405c21c48050ae2dd9205a9972d1db3df2db55606f63327b6441641aafd8e365bed9138b6ac0cd89d24d66b5dd54d4f7082c3b4ef46f6d52d7bde08
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..59f09e7
--- /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-tera