The package rpms/rust-wasmtime-environ.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-environ.git/commit/...
https://src.fedoraproject.org/cgit/rpms/rust-wasmtime-environ.git/commit/....
Change:
+ExcludeArch: %{power64}
+ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit b8b56c6274b76394a4392e92253c78e44db1954b
Author: Olivier Lemasle <o.lemasle(a)gmail.com>
Date: Wed Jun 2 20:53:54 2021 +0200
Exclude arch unsupported by Cranelift
diff --git a/rust-wasmtime-environ.spec b/rust-wasmtime-environ.spec
index 724b79c..6ca62cf 100644
--- a/rust-wasmtime-environ.spec
+++ b/rust-wasmtime-environ.spec
@@ -6,7 +6,7 @@
Name: rust-%{crate}
Version: 0.27.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Standalone environment support for WebAsssembly code in Cranelift
# Upstream license specification: Apache-2.0 WITH LLVM-exception
@@ -14,6 +14,15 @@ License: ASL 2.0 with exceptions
URL:
https://crates.io/crates/wasmtime-environ
Source: %{crates_source}
+# Cranelift currently only supports x86_64, aarch64 and s390x.
+
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1966344
+ExcludeArch: %{ix86}
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1966346
+ExcludeArch: %{arm32}
+#
https://bugzilla.redhat.com/show_bug.cgi?id=1966347
+ExcludeArch: %{power64}
+
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
@@ -71,5 +80,8 @@ which use "default" feature of "%{crate}" crate.
%endif
%changelog
+* Wed Jun 02 2021 Olivier Lemasle <o.lemasle(a)gmail.com> - 0.27.0-2
+- Exclude arch unsupported by Cranelift
+
* Sat May 22 15:07:38 CEST 2021 Olivier Lemasle <o.lemasle(a)gmail.com> - 0.27.0-1
- Initial package
commit 70fe5d85a474f79fc2c98f985587764e81169c97
Author: Olivier Lemasle <o.lemasle(a)gmail.com>
Date: Wed Jun 2 20:52:35 2021 +0200
Initial import (#1963341)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ba9a645
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/wasmtime-environ-0.27.0.crate
diff --git a/rust-wasmtime-environ.spec b/rust-wasmtime-environ.spec
new file mode 100644
index 0000000..724b79c
--- /dev/null
+++ b/rust-wasmtime-environ.spec
@@ -0,0 +1,75 @@
+# Generated by rust2rpm 17
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate wasmtime-environ
+
+Name: rust-%{crate}
+Version: 0.27.0
+Release: 1%{?dist}
+Summary: Standalone environment support for WebAsssembly code in Cranelift
+
+# Upstream license specification: Apache-2.0 WITH LLVM-exception
+License: ASL 2.0 with exceptions
+URL:
https://crates.io/crates/wasmtime-environ
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Standalone environment support for WebAsssembly code in Cranelift.}
+
+%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
+* Sat May 22 15:07:38 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..e3a6a36
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (wasmtime-environ-0.27.0.crate) =
dc8cf5754e61e816862f6a3e8dc8188453955e7d6e85b5f2e0b342148908d8fafc3c8a1503f9e7aa5f47602222b97e081c6094983535164b6da4a039707ccc3d