The package rpms/rust-version.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-version.git/commit/?id=c5ffd....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit c5ffdc6b6f3dc1e9b4fd6a12ae172ea8cadf6b86
Author: Peter Robinson <pbrobinson(a)gmail.com>
Date: Fri Sep 11 16:27:05 2020 +0100
initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5fe3e36
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/version-*.crate
diff --git a/rust-version.spec b/rust-version.spec
new file mode 100644
index 0000000..0085a2f
--- /dev/null
+++ b/rust-version.spec
@@ -0,0 +1,76 @@
+# Generated by rust2rpm 13
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate version
+
+Name: rust-%{crate}
+Version: 3.0.0
+Release: 1%{?dist}
+Summary: Very simple library who's job is to return the version of your crate
if you're building with Cargo
+
+# Upstream license specification: MIT/Apache-2.0
+License: MIT or ASL 2.0
+URL:
https://crates.io/crates/version
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Very simple library who's job is to return the version of your crate if you're
+building with Cargo.}
+
+%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_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
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Fri Sep 11 07:53:08 BST 2020 Peter Robinson <pbrobinson(a)gmail.com> - 3.0.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..12c5891
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (version-3.0.0.crate) =
97743c4a14809e81474d8a3adc4c7e2adcc1dd0943f611f2662d8dbd646546e037e3248fba5289eade7b32c16ca3a090de7a653dd0a134901971f353149f1123