The package rpms/rust-wast.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-wast.git/commit/?id=87b0b53b726....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 87b0b53b7266c907d4cf89b968ae44f95ce7766e Author: Olivier Lemasle o.lemasle@gmail.com Date: Tue May 11 21:42:47 2021 +0200
Initial import (#1901090)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..db9778f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wast-35.0.2.crate diff --git a/dev-dependencies.diff b/dev-dependencies.diff new file mode 100644 index 0000000..7ec560f --- /dev/null +++ b/dev-dependencies.diff @@ -0,0 +1,16 @@ +diff --color -u wast-27.0.0/Cargo.toml wast-27.0.1/Cargo.toml +--- wast-27.0.0/Cargo.toml 2020-11-09 15:58:35.000000000 +0100 ++++ wast-27.0.1/Cargo.toml 2020-11-22 11:57:48.145927257 +0100 +@@ -33,6 +33,12 @@ + [dev-dependencies.rayon] + version = "1.0" + ++[dev-dependencies.wasmparser] ++version = "0.78.0" ++ ++[dev-dependencies.wat] ++version = "1.0.28" ++ + [features] + default = ["wasm-module"] + wasm-module = [] diff --git a/rust-wast.spec b/rust-wast.spec new file mode 100644 index 0000000..cb97ac5 --- /dev/null +++ b/rust-wast.spec @@ -0,0 +1,93 @@ +# Generated by rust2rpm 16 +# Disable checks to bootstrap this package, to fix the dependency loop +%bcond_without bootstrap +%bcond_with check +%global debug_package %{nil} + +%global crate wast + +Name: rust-%{crate} +Version: 35.0.2 +Release: 1%{?dist} +Summary: Customizable Rust parsers for the WebAssembly Text formats WAT and WAST + +# Upstream license specification: Apache-2.0 WITH LLVM-exception +License: ASL 2.0 with exceptions +URL: https://crates.io/crates/wast +Source: %{crates_source} +# Add dev-dependencies specified in Cargo.toml.orig with paths only +Patch0: dev-dependencies.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Customizable Rust parsers for the WebAssembly Text formats WAT and WAST.} + +%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 +%{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 + +%package -n %{name}+wasm-module-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+wasm-module-devel %{_description} + +This package contains library source intended for building other packages +which use "wasm-module" feature of "%{crate}" crate. + +%files -n %{name}+wasm-module-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 +* Mon May 10 2021 Olivier Lemasle o.lemasle@gmail.com - 35.0.2-1 +- Bump to version 35.0.2 + +* Sat Nov 21 19:34:45 CET 2020 Olivier Lemasle o.lemasle@gmail.com - 27.0.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..4d2d034 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wast-35.0.2.crate) = 0076bc3d5950d9026915b4271fc2e1b4d117913e0ebd459cec2acc78ab11a8e98b7bc98bd333c3924f8130ab0dffcb9b640475f38a53721ccc73ea54b73f0855
arch-excludes@lists.fedoraproject.org