From ba5e8742cc96f90ad1138a0c5578cfdbdc2533af Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 11 2018 23:17:42 +0000 Subject: Update to 0.12.5 Signed-off-by: Igor Gnatenko --- diff --git a/.gitignore b/.gitignore index 640a810..3ef21e7 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /hyper-0.11.24.crate /hyper-0.11.25.crate /hyper-0.11.26.crate +/hyper-0.12.5.crate diff --git a/hyper-0.12.5-fix-metadata.diff b/hyper-0.12.5-fix-metadata.diff new file mode 100644 index 0000000..3bce669 --- /dev/null +++ b/hyper-0.12.5-fix-metadata.diff @@ -0,0 +1,11 @@ +--- hyper-0.12.5/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ hyper-0.12.5/Cargo.toml 2018-07-11T22:50:35.942841+02:00 +@@ -154,7 +154,7 @@ + optional = true + + [dependencies.want] +-version = "0.0.5" ++version = "0.0.6" + [dev-dependencies.futures-timer] + version = "0.1" + diff --git a/rust-hyper.spec b/rust-hyper.spec index 1c00113..11e85d8 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -5,42 +5,47 @@ %global crate hyper Name: rust-%{crate} -Version: 0.11.26 +Version: 0.12.5 Release: 1%{?dist} -Summary: Modern HTTP library +Summary: Fast and correct HTTP library License: MIT URL: https://crates.io/crates/hyper Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump want to 0.0.6, https://github.com/hyperium/hyper/pull/1601 +Patch0: hyper-0.12.5-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] -BuildRequires: (crate(base64) >= 0.9.0 with crate(base64) < 0.10.0) BuildRequires: (crate(bytes) >= 0.4.4 with crate(bytes) < 0.5.0) -BuildRequires: (crate(futures) >= 0.1.17 with crate(futures) < 0.2.0) +BuildRequires: (crate(futures) >= 0.1.21 with crate(futures) < 0.2.0) BuildRequires: (crate(futures-cpupool) >= 0.1.6 with crate(futures-cpupool) < 0.2.0) -BuildRequires: (crate(http) >= 0.1.0 with crate(http) < 0.2.0) +BuildRequires: (crate(h2) >= 0.1.10 with crate(h2) < 0.2.0) +BuildRequires: (crate(http) >= 0.1.7 with crate(http) < 0.2.0) BuildRequires: (crate(httparse) >= 1.0.0 with crate(httparse) < 2.0.0) BuildRequires: (crate(iovec) >= 0.1.0 with crate(iovec) < 0.2.0) -BuildRequires: (crate(language-tags) >= 0.2.0 with crate(language-tags) < 0.3.0) +BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0) BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0) -BuildRequires: (crate(mime) >= 0.3.2 with crate(mime) < 0.4.0) -BuildRequires: (crate(net2) >= 0.2.0 with crate(net2) < 0.3.0) -BuildRequires: (crate(percent-encoding) >= 1.0.0 with crate(percent-encoding) < 2.0.0) -BuildRequires: (crate(relay) >= 0.1.0 with crate(relay) < 0.2.0) +BuildRequires: (crate(net2) >= 0.2.32 with crate(net2) < 0.3.0) BuildRequires: (crate(time) >= 0.1.0 with crate(time) < 0.2.0) -BuildRequires: (crate(tokio-core) >= 0.1.11 with crate(tokio-core) < 0.2.0) +BuildRequires: (crate(tokio) >= 0.1.7 with crate(tokio) < 0.2.0) +BuildRequires: (crate(tokio-executor) >= 0.1.0 with crate(tokio-executor) < 0.2.0) BuildRequires: (crate(tokio-io) >= 0.1.0 with crate(tokio-io) < 0.2.0) -BuildRequires: (crate(tokio-proto) >= 0.1.0 with crate(tokio-proto) < 0.2.0) -BuildRequires: (crate(tokio-service) >= 0.1.0 with crate(tokio-service) < 0.2.0) -BuildRequires: (crate(unicase) >= 2.0.0 with crate(unicase) < 3.0.0) +BuildRequires: (crate(tokio-reactor) >= 0.1.0 with crate(tokio-reactor) < 0.2.0) +BuildRequires: (crate(tokio-tcp) >= 0.1.0 with crate(tokio-tcp) < 0.2.0) +BuildRequires: (crate(tokio-timer) >= 0.2.0 with crate(tokio-timer) < 0.3.0) +BuildRequires: (crate(want) >= 0.0.6 with crate(want) < 0.0.7) %if %{with check} # [dev-dependencies] +BuildRequires: (crate(futures-timer) >= 0.1.0 with crate(futures-timer) < 0.2.0) BuildRequires: (crate(num_cpus) >= 1.0.0 with crate(num_cpus) < 2.0.0) BuildRequires: (crate(pretty_env_logger) >= 0.2.0 with crate(pretty_env_logger) < 0.3.0) BuildRequires: (crate(spmc) >= 0.2.0 with crate(spmc) < 0.3.0) +BuildRequires: (crate(tokio-fs) >= 0.1.0 with crate(tokio-fs) < 0.2.0) +BuildRequires: (crate(tokio-mockstream) >= 1.1.0 with crate(tokio-mockstream) < 2.0.0) BuildRequires: (crate(url) >= 1.0.0 with crate(url) < 2.0.0) %endif @@ -52,7 +57,7 @@ Summary: %{summary} BuildArch: noarch %description devel -A modern HTTP library. +A fast and correct HTTP library. This package contains library source intended for building other packages which use %{crate} from crates.io. @@ -77,6 +82,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Wed Jul 11 2018 Igor Gnatenko - 0.12.5-1 +- Update to 0.12.5 + * Sun May 06 2018 Igor Gnatenko - 0.11.26-1 - Update to 0.11.26 diff --git a/sources b/sources index c004f26..159baaa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.11.26.crate) = baeea39fe17599911042a9acd2fc0d1c46acf06fdbfbdc3bf92ec1499c3ef9533732ad6b87902d1c06abc64f6a8fe4ab48a4cac417a9d26f939c2ba8d2f1d11e +SHA512 (hyper-0.12.5.crate) = ec64bbafb0ce331026866a93968e705079ec274b9f95afa09685ee59e04e0278d56ffcfe09ecd0b20b2562f7ebd7102d23a528497d0179ddac93708472ee875d