The package rpms/rust-wasmparser.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-wasmparser.git/commit/?id=51cae....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 410737cd05925479495a4e8b57f953339ae2b19e Author: Olivier Lemasle o.lemasle@gmail.com Date: Sat May 15 21:24:56 2021 +0200
Update to upstream 0.78.1, add license file
diff --git a/.gitignore b/.gitignore index e1b92a4..1723431 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /wasmparser-0.68.0.crate /wasmparser-0.78.0.crate +/wasmparser-0.78.1.crate diff --git a/rust-wasmparser.spec b/rust-wasmparser.spec index bc728e9..49d7431 100644 --- a/rust-wasmparser.spec +++ b/rust-wasmparser.spec @@ -5,7 +5,7 @@ %global crate wasmparser
Name: rust-%{crate} -Version: 0.78.0 +Version: 0.78.1 Release: 1%{?dist} Summary: Simple event-driven library for parsing WebAssembly binary files
@@ -39,6 +39,7 @@ which use "%{crate}" crate.
%files devel %doc README.md +%license LICENSE %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel @@ -84,6 +85,9 @@ which use "deterministic" feature of "%{crate}" crate. %endif
%changelog +* Sat May 15 2021 Olivier Lemasle o.lemasle@gmail.com - 0.78.1-1 +- Update to upstream 0.78.1, add license file + * Mon May 10 2021 Olivier Lemasle o.lemasle@gmail.com - 0.78.0-1 - Update to upstream 0.78.0
diff --git a/sources b/sources index 8be30cb..87f1c22 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wasmparser-0.78.0.crate) = d793f64274d168703beb683ca6088a20b9f93ce0e3619de18a0a07e69051c5a89fc58faa9edb4c14ee4d3e46d824cdb5a38e49f93f17972caee76b0969ffd7f3 +SHA512 (wasmparser-0.78.1.crate) = 0192639795dc0420afce02000f613149405ebf32729e89c7deef254649b439489341df1416f2f764643d70ba563a1349d79aa9e811d8e3733b22df978d18e23b
commit 25a0063f607b757017badd5fb556944f12cbdcb3 Author: Olivier Lemasle o.lemasle@gmail.com Date: Mon May 10 11:59:15 2021 +0200
Update to upstream 0.78.0
diff --git a/.gitignore b/.gitignore index 9eb7e8c..e1b92a4 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /wasmparser-0.68.0.crate +/wasmparser-0.78.0.crate diff --git a/rust-wasmparser.spec b/rust-wasmparser.spec index 137e036..bc728e9 100644 --- a/rust-wasmparser.spec +++ b/rust-wasmparser.spec @@ -5,7 +5,7 @@ %global crate wasmparser
Name: rust-%{crate} -Version: 0.68.0 +Version: 0.78.0 Release: 1%{?dist} Summary: Simple event-driven library for parsing WebAssembly binary files
@@ -84,5 +84,8 @@ which use "deterministic" feature of "%{crate}" crate. %endif
%changelog +* Mon May 10 2021 Olivier Lemasle o.lemasle@gmail.com - 0.78.0-1 +- Update to upstream 0.78.0 + * Sun Nov 22 17:23:36 CET 2020 Olivier Lemasle o.lemasle@gmail.com - 0.68.0-1 - Initial package diff --git a/sources b/sources index 6eeaac1..8be30cb 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wasmparser-0.68.0.crate) = 4e6548d2862790be5ff114f54fc99380e6ca8dc95727ab4111363696811004156a9b03368df32d5aca47ee3c408dc0544cf95228b725ad7d6ad5ebd6b613be7b +SHA512 (wasmparser-0.78.0.crate) = d793f64274d168703beb683ca6088a20b9f93ce0e3619de18a0a07e69051c5a89fc58faa9edb4c14ee4d3e46d824cdb5a38e49f93f17972caee76b0969ffd7f3
commit 51cae5f95c58e1dff046bc7698da6d7868b39300 Author: Olivier Lemasle o.lemasle@gmail.com Date: Mon May 10 11:51:46 2021 +0200
Initial import (#1901098)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9eb7e8c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/wasmparser-0.68.0.crate diff --git a/exclude.diff b/exclude.diff new file mode 100644 index 0000000..88e2d89 --- /dev/null +++ b/exclude.diff @@ -0,0 +1,11 @@ +diff --color -u wasmparser-0.68.0/Cargo.toml wasmparser-0.68.1/Cargo.toml +--- wasmparser-0.68.0/Cargo.toml 2020-11-17 22:17:44.000000000 +0100 ++++ wasmparser-0.68.0/Cargo.toml 2020-11-22 17:42:35.408059972 +0100 +@@ -20,6 +20,7 @@ + keywords = ["parser", "WebAssembly", "wasm"] + license = "Apache-2.0 WITH LLVM-exception" + repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wasmparser" ++exclude = ["/compare-with-main.sh"] + + [[bench]] + name = "benchmark" diff --git a/rust-wasmparser.spec b/rust-wasmparser.spec new file mode 100644 index 0000000..137e036 --- /dev/null +++ b/rust-wasmparser.spec @@ -0,0 +1,88 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate wasmparser + +Name: rust-%{crate} +Version: 0.68.0 +Release: 1%{?dist} +Summary: Simple event-driven library for parsing WebAssembly binary files + +# Upstream license specification: Apache-2.0 WITH LLVM-exception +License: ASL 2.0 with exceptions +URL: https://crates.io/crates/wasmparser +Source: %{crates_source} +# Exclude unnecessary file +Patch0: exclude.diff + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Simple event-driven library for parsing WebAssembly binary files.} + +%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}+deterministic-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+deterministic-devel %{_description} + +This package contains library source intended for building other packages +which use "deterministic" feature of "%{crate}" crate. + +%files -n %{name}+deterministic-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 Nov 22 17:23:36 CET 2020 Olivier Lemasle o.lemasle@gmail.com - 0.68.0-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..6eeaac1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wasmparser-0.68.0.crate) = 4e6548d2862790be5ff114f54fc99380e6ca8dc95727ab4111363696811004156a9b03368df32d5aca47ee3c408dc0544cf95228b725ad7d6ad5ebd6b613be7b
arch-excludes@lists.fedoraproject.org