The package rpms/rust-wasm-bindgen-test.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-wasm-bindgen-test.git/commit/?i....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 0b47fc878d684817aa94db706c88c2090bf73f4f Author: Fabio Valentini decathorpe@gmail.com Date: Mon May 10 20:03:04 2021 +0200
initial import (#1955946)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..75aba58 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/wasm-bindgen-test-0.3.23.crate diff --git a/README.md b/README.md deleted file mode 100644 index e120d42..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-wasm-bindgen-test - -The rust-wasm-bindgen-test package diff --git a/rust-wasm-bindgen-test.spec b/rust-wasm-bindgen-test.spec new file mode 100644 index 0000000..925c482 --- /dev/null +++ b/rust-wasm-bindgen-test.spec @@ -0,0 +1,75 @@ +# Generated by rust2rpm 16 +%bcond_without check +%global debug_package %{nil} + +%global crate wasm-bindgen-test + +Name: rust-%{crate} +Version: 0.3.23 +Release: 1%{?dist} +Summary: Internal testing crate for wasm-bindgen + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/wasm-bindgen-test +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Internal testing crate for wasm-bindgen.} + +%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 +%license LICENSE-APACHE LICENSE-MIT +%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 + +%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 Fabio Valentini decathorpe@gmail.com - 0.3.23-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..4501551 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wasm-bindgen-test-0.3.23.crate) = 06c4a0f996deb0da292b126fd21f94bbddf16c4be00d9835759cbefc5f4c5eca276ce0e4a762dd3c42104fe585469c7be0fea13e66ffd791ec4e15d5aad89d5a