From 31fd9b16aca25f8859c44f6820bb593e36a76e09 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: May 02 2019 06:50:27 +0000 Subject: Update to 0.22.4 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 93af8dc..ea136ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /websocket-0.22.3.crate +/websocket-0.22.4.crate diff --git a/rust-websocket.spec b/rust-websocket.spec index 6f0be17..fc683ac 100644 --- a/rust-websocket.spec +++ b/rust-websocket.spec @@ -5,11 +5,10 @@ %global crate websocket Name: rust-%{crate} -Version: 0.22.3 +Version: 0.22.4 Release: 1%{?dist} Summary: WebSocket (RFC6455) library for Rust -# https://github.com/websockets-rs/rust-websocket/issues/211 License: MIT URL: https://crates.io/crates/websocket Source: %{crates_source} @@ -26,12 +25,18 @@ BuildRequires: (crate(hyper/default) >= 0.10.6 with crate(hyper/default) < 0.11 BuildRequires: (crate(native-tls/default) >= 0.2.1 with crate(native-tls/default) < 0.3.0) BuildRequires: (crate(rand/default) >= 0.6.1 with crate(rand/default) < 0.7.0) BuildRequires: (crate(sha1/default) >= 0.6.0 with crate(sha1/default) < 0.7.0) +BuildRequires: (crate(tokio-codec/default) >= 0.1.0 with crate(tokio-codec/default) < 0.2.0) +BuildRequires: (crate(tokio-io/default) >= 0.1.0 with crate(tokio-io/default) < 0.2.0) +BuildRequires: (crate(tokio-reactor/default) >= 0.1.0 with crate(tokio-reactor/default) < 0.2.0) +BuildRequires: (crate(tokio-tcp/default) >= 0.1.0 with crate(tokio-tcp/default) < 0.2.0) BuildRequires: (crate(tokio-tls/default) >= 0.2.0 with crate(tokio-tls/default) < 0.3.0) -BuildRequires: (crate(tokio/default) >= 0.1.0 with crate(tokio/default) < 0.2.0) BuildRequires: (crate(unicase/default) >= 1.0.0 with crate(unicase/default) < 2.0.0) BuildRequires: (crate(url/default) >= 1.0.0 with crate(url/default) < 2.0.0) %if %{with check} BuildRequires: (crate(futures-cpupool/default) >= 0.1.0 with crate(futures-cpupool/default) < 0.2.0) +BuildRequires: (crate(tokio/codec) >= 0.1.0 with crate(tokio/codec) < 0.2.0) +BuildRequires: (crate(tokio/rt-full) >= 0.1.0 with crate(tokio/rt-full) < 0.2.0) +BuildRequires: (crate(tokio/tcp) >= 0.1.0 with crate(tokio/tcp) < 0.2.0) %endif %global _description \ @@ -49,6 +54,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel +%license LICENSE %doc README.md ROADMAP.md %{cargo_registry}/%{crate}-%{version}/ @@ -124,6 +130,18 @@ which use "native-tls" feature of "%{crate}" crate. %files -n %{name}+native-tls-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+nightly-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+nightly-devel %{_description} + +This package contains library source intended for building other packages +which use "nightly" feature of "%{crate}" crate. + +%files -n %{name}+nightly-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+sync-devel Summary: %{summary} BuildArch: noarch @@ -148,16 +166,52 @@ which use "sync-ssl" feature of "%{crate}" crate. %files -n %{name}+sync-ssl-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml -%package -n %{name}+tokio-devel +%package -n %{name}+tokio-codec-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+tokio-devel %{_description} +%description -n %{name}+tokio-codec-devel %{_description} This package contains library source intended for building other packages -which use "tokio" feature of "%{crate}" crate. +which use "tokio-codec" feature of "%{crate}" crate. -%files -n %{name}+tokio-devel +%files -n %{name}+tokio-codec-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-io-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-io-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-io" feature of "%{crate}" crate. + +%files -n %{name}+tokio-io-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-reactor-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-reactor-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-reactor" feature of "%{crate}" crate. + +%files -n %{name}+tokio-reactor-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+tokio-tcp-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+tokio-tcp-devel %{_description} + +This package contains library source intended for building other packages +which use "tokio-tcp" feature of "%{crate}" crate. + +%files -n %{name}+tokio-tcp-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %package -n %{name}+tokio-tls-devel @@ -188,5 +242,8 @@ which use "tokio-tls" feature of "%{crate}" crate. %endif %changelog +* Thu May 02 08:49:24 CEST 2019 Igor Gnatenko - 0.22.4-1 +- Update to 0.22.4 + * Wed Mar 13 2019 Igor Gnatenko - 0.22.3-1 - Initial package diff --git a/sources b/sources index 0b342c3..37f3c69 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (websocket-0.22.3.crate) = 79916a16f234daf198c3660595232a5a9a8f2d581ecdffe23c88f83b65fc5072df53eaefb9799c991e72a27a7061ed05d7d9f9ddea324527866102d5a7011435 +SHA512 (websocket-0.22.4.crate) = 8f9a1e8d4b3f62736ee14a32ddd4e3c6d390cb9af3cba6b0c4b9311b25d8f300073cf51b0d5c922d02ab2241f8e6c49efe0357bd9952f215df0828f92ccf4d9e