The package rpms/rust-genmesh.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-genmesh.git/commit/?id=21f42....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 21f42e873970a090aec1abf5a1884d9b20249e9b
Author: Rémi Lauzier <remilauzier(a)protonmail.com>
Date: Fri Jun 18 20:29:26 2021 -0400
Initial import
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b3cf49c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/genmesh-0.6.2.crate
diff --git a/genmesh-fix-metadata.diff b/genmesh-fix-metadata.diff
new file mode 100644
index 0000000..16b9ee6
--- /dev/null
+++ b/genmesh-fix-metadata.diff
@@ -0,0 +1,11 @@
+--- genmesh-0.6.2/Cargo.toml 1970-01-01T00:00:00+00:00
++++ genmesh-0.6.2/Cargo.toml 2021-06-12T00:09:09.399734+00:00
+@@ -23,7 +23,7 @@
+ name = "genmesh"
+ path = "src/lib.rs"
+ [dependencies.cgmath]
+-version = "0.16"
++version = "0.18"
+ features = ["mint"]
+
+ [dependencies.mint]
diff --git a/rust-genmesh.spec b/rust-genmesh.spec
new file mode 100644
index 0000000..4028097
--- /dev/null
+++ b/rust-genmesh.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate genmesh
+
+Name: rust-%{crate}
+Version: 0.6.2
+Release: 1%{?dist}
+Summary: Package for generating 3D meshes
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL:
https://crates.io/crates/genmesh
+Source: %{crates_source}
+# Initial patched metadata
+# update cgmath to 0.18
+#
https://github.com/gfx-rs/genmesh/pull/73
+Patch0: genmesh-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Package for generating 3D meshes.}
+
+%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
+%doc readme.md
+%license LICENSE
+%{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 Jun 11 19:52:12 EDT 2021 Rémi Lauzier <remilauzier(a)protonmail.com> - 0.6.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..09c5338
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (genmesh-0.6.2.crate) =
cff9cd3ada072cc186273871538f94b3bbbf9cf83b3a9d2b10980bc5c6a7e3441305d690b4a8bf86ed9019d8b82b815c9bcb2edd8a35df61c3c9f3bb7f63460b