The package rpms/rust-xdg.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-xdg.git/commit/?id=d7176500e....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit d7176500e73ca41ef736a5725ac7810b2f02074f
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Thu Jul 26 11:44:39 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..c92c1ec
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/xdg-2.1.0.crate
diff --git a/rust-xdg.spec b/rust-xdg.spec
new file mode 100644
index 0000000..32df29f
--- /dev/null
+++ b/rust-xdg.spec
@@ -0,0 +1,57 @@
+# Generated by rust2rpm
+# Tests are run in infrastructure
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate xdg
+
+Name: rust-%{crate}
+Version: 2.1.0
+Release: 1%{?dist}
+Summary: Library for storing and retrieving files according to XDG
+
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/xdg
+Source0:
https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{...
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+A library for storing and retrieving files according to XDG Base Directory
+specification.
+
+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-APACHE LICENSE-MIT
+%doc README.md
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Sat May 12 2018 Igor Gnatenko <ignatenkobrain(a)fedoraproject.org> - 2.1.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..6f780b3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (xdg-2.1.0.crate) =
5896540327691f7609cc8cb4055561e791ab627e7327e5c49c9ccb14713d35ce8f43e17bd333cdfb4991884501d6b0bd480e41e9a3dde97499644240675ed52e
diff --git a/tests/tests.yml b/tests/tests.yml
new file mode 100644
index 0000000..1b0f669
--- /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-xdg