From 3cc7aedd9edd07c6bb4ac1797f47346dfa918624 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Nov 27 2018 18:32:55 +0000 Subject: Update to 0.35.1 --- diff --git a/.gitignore b/.gitignore index d03b867..c2a3daf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /parity-wasm-0.32.0.crate /parity-wasm-0.34.0.crate +/parity-wasm-0.35.1.crate diff --git a/rust-parity-wasm.spec b/rust-parity-wasm.spec index 8f98236..3ea467c 100644 --- a/rust-parity-wasm.spec +++ b/rust-parity-wasm.spec @@ -5,7 +5,7 @@ %global crate parity-wasm Name: rust-%{crate} -Version: 0.34.0 +Version: 0.35.1 Release: 1%{?dist} Summary: WebAssembly binary format serialization/deserialization/interpreter @@ -17,15 +17,16 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging -# [dependencies] BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) +BuildRequires: (crate(byteorder/std) >= 1.0.0 with crate(byteorder/std) < 2.0.0) %if %{with check} -# [dev-dependencies] -BuildRequires: (crate(time) >= 0.1.0 with crate(time) < 0.2.0) +BuildRequires: (crate(time/default) >= 0.1.0 with crate(time/default) < 0.2.0) %endif -%description -%{summary}. +%global _description \ +WebAssembly binary format serialization/deserialization/interpreter. + +%description %{_description} %package devel Summary: %{summary} @@ -37,6 +38,35 @@ WebAssembly binary format serialization/deserialization/interpreter This package contains library source intended for building other packages which use %{crate} from crates.io. +%files devel +%license LICENSE-MIT LICENSE-APACHE +%doc README.md +%{cargo_registry}/%{crate}-%{version}/ + +%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}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep @@ -53,12 +83,10 @@ which use %{crate} from crates.io. %cargo_test -- --doc %endif -%files devel -%license LICENSE-MIT LICENSE-APACHE -%doc README.md -%{cargo_registry}/%{crate}-%{version}/ - %changelog +* Tue Nov 27 2018 Josh Stone - 0.35.1-1 +- Update to 0.35.1 + * Sun Oct 07 2018 Igor Gnatenko - 0.34.0-1 - Update to 0.34.0 diff --git a/sources b/sources index 9361941..dce46c4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (parity-wasm-0.34.0.crate) = 2af86ba473e07bfbd82ed0494ebdb9dab633bd0213a38db6cb8cfd0d91798c4dbaf59b15719b9d4d30a4ec7c74f4a1d72270709260908414585f69ec9eb8b09b +SHA512 (parity-wasm-0.35.1.crate) = e886cc01dfc49b3d68723d94135befb2fdac0e3635714c35161d5fdaf714d36595704ab6daa1127799e6d205baa1d11b1614b7ec1fd9ec4bf1766f70dd150063