The package rpms/rust-piper.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-piper.git/commit/?id=2c85c67....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 2c85c67062b27638aad9bb7f77f66de96ad914ed
Author: Igor Raits <ignatenkobrain(a)fedoraproject.org>
Date: Tue May 26 07:44:46 2020 +0200
Initial import
Signed-off-by: Igor Raits <ignatenkobrain(a)fedoraproject.org>
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e062dd4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/piper-0.1.2.crate
diff --git a/rust-piper.spec b/rust-piper.spec
new file mode 100644
index 0000000..b7f053b
--- /dev/null
+++ b/rust-piper.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 15
+# * The tests are broken,
https://github.com/stjepang/piper/issues/23
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate piper
+
+Name: rust-%{crate}
+Version: 0.1.2
+Release: 1%{?dist}
+Summary: Async pipes, channels, mutexes, and more
+
+# Upstream license specification: MIT OR Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/piper
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Async pipes, channels, mutexes, and more.}
+
+%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-MIT LICENSE-APACHE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+# Depends on smol, but without a dependency
+rm -v examples/foo.rs
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun May 24 08:03:54 CEST 2020 Igor Raits <i.gnatenko.brain(a)gmail.com> - 0.1.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..3875819
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (piper-0.1.2.crate) =
63546936df0456d3ebe50759f4577eeb0e0b5b2afdd4b4fe91acad70352dede729f26b038aa5828643eb897d0dff9fabab197de0c9670a118375697217e5d553