The package rpms/rust-wasmtime-cache.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-wasmtime-cache.git/commit/?i....
Change:
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit a8a3a2493b5cebceb81cc9850bc501674fc7a0b5
Author: Olivier Lemasle <o.lemasle(a)gmail.com>
Date: Wed Jun 9 08:50:39 2021 +0200
Initial import (#1966552)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4dd147a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/wasmtime-cache-0.27.0.crate
diff --git a/rust-wasmtime-cache.spec b/rust-wasmtime-cache.spec
new file mode 100644
index 0000000..75b6f3c
--- /dev/null
+++ b/rust-wasmtime-cache.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate wasmtime-cache
+
+Name: rust-%{crate}
+Version: 0.27.0
+Release: 1%{?dist}
+Summary: Support for automatic module caching with Wasmtime
+
+# Upstream license specification: Apache-2.0 WITH LLVM-exception
+License: ASL 2.0 with exceptions
+URL:
https://crates.io/crates/wasmtime-cache
+Source: %{crates_source}
+# Initial patched metadata
+# - Remove windows-only dependency
+# - Upgrade zstd dependency
+Patch0: wasmtime-cache-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Support for automatic module caching with Wasmtime.}
+
+%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
+# No LICENSE file.
+# It has been added upstream and will be included in the next release.
+%{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
+* Sun May 23 16:18:28 CEST 2021 Olivier Lemasle <o.lemasle(a)gmail.com> - 0.27.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..cf7bc84
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (wasmtime-cache-0.27.0.crate) =
59cfd170ab892b3127c7a8bfd6d06dacbf5497c5682ea42b2023ae1aba05a04837690433b3520cd6b513849f91aaf982523e32bc5fffe60af605b1c1c5e9ef75
diff --git a/wasmtime-cache-fix-metadata.diff b/wasmtime-cache-fix-metadata.diff
new file mode 100644
index 0000000..c471045
--- /dev/null
+++ b/wasmtime-cache-fix-metadata.diff
@@ -0,0 +1,17 @@
+--- wasmtime-cache-0.27.0/Cargo.toml 1970-01-01T00:00:00+00:00
++++ wasmtime-cache-0.27.0/Cargo.toml 2021-06-01T11:05:48.718947+00:00
+@@ -50,7 +50,7 @@
+ version = "0.5.5"
+
+ [dependencies.zstd]
+-version = "0.6"
++version = "0.8"
+ default-features = false
+ [dev-dependencies.filetime]
+ version = "0.2.7"
+@@ -71,5 +71,3 @@
+
+ [target."cfg(not(target_os = \"windows\"))".dependencies.libc]
+ version = "0.2.60"
+-[target."cfg(target_os = \"windows\")".dependencies.winapi]
+-version = "0.3.7"