The package rpms/rust-wasm-bindgen-futures.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-futures.git/commit....
Change: +ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 5b4427fa29db3b9d4e0a59b488194fb07150c3ff Author: Fabio Valentini decathorpe@gmail.com Date: Mon May 10 19:48:00 2021 +0200
initial import (#1955947)
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..18a6368 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/results_*/ +/*.src.rpm + +/wasm-bindgen-futures-0.4.23.crate diff --git a/README.md b/README.md deleted file mode 100644 index 19339e9..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-wasm-bindgen-futures - -The rust-wasm-bindgen-futures package diff --git a/rust-wasm-bindgen-futures.spec b/rust-wasm-bindgen-futures.spec new file mode 100644 index 0000000..698845d --- /dev/null +++ b/rust-wasm-bindgen-futures.spec @@ -0,0 +1,100 @@ +# Generated by rust2rpm 16 +# * needs to be ported from futures-channel-preview to futures-channel +%bcond_with check +%global debug_package %{nil} + +%global crate wasm-bindgen-futures + +Name: rust-%{crate} +Version: 0.4.23 +Release: 1%{?dist} +Summary: Bridging the gap between Rust Futures and JavaScript Promises + +# Upstream license specification: MIT/Apache-2.0 +License: MIT or ASL 2.0 +URL: https://crates.io/crates/wasm-bindgen-futures +Source: %{crates_source} + +ExclusiveArch: %{rust_arches} +%if %{__cargo_skip_build} +BuildArch: noarch +%endif + +BuildRequires: rust-packaging + +%global _description %{expand: +Bridging the gap between Rust Futures and JavaScript Promises.} + +%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 + +%package -n %{name}+futures-core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-core-devel %{_description} + +This package contains library source intended for building other packages +which use "futures-core" feature of "%{crate}" crate. + +%files -n %{name}+futures-core-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+futures-core-03-stream-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+futures-core-03-stream-devel %{_description} + +This package contains library source intended for building other packages +which use "futures-core-03-stream" feature of "%{crate}" crate. + +%files -n %{name}+futures-core-03-stream-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.4.23-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..a2a3170 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (wasm-bindgen-futures-0.4.23.crate) = 344f2705a64f0618584c5a9ad0a026f156918873ad6fafbaf92d57b564445ab6d557d76233445ec263a18a0bb19b6be7d1d7710d3f83b25114ea1b621fe102d9