diff --git a/.gitignore b/.gitignore index ff9d260..f2639d7 100644 --- a/.gitignore +++ b/.gitignore @@ -26,3 +26,4 @@ /hyper-0.12.28.crate /hyper-0.12.29.crate /hyper-0.12.30.crate +/hyper-0.12.31.crate diff --git a/hyper-fix-metadata.diff b/hyper-fix-metadata.diff deleted file mode 100644 index 0ddc60c..0000000 --- a/hyper-fix-metadata.diff +++ /dev/null @@ -1,30 +0,0 @@ ---- hyper-0.12.30/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ hyper-0.12.30/Cargo.toml 2019-06-21T19:49:44.491650+00:00 -@@ -191,7 +191,7 @@ - optional = true - - [dependencies.want] --version = "0.0.6" -+version = "0.2" - [dev-dependencies.futures-timer] - version = "0.1" - -@@ -199,7 +199,7 @@ - version = "1.0" - - [dev-dependencies.pretty_env_logger] --version = "0.2.0" -+version = "0.3" - - [dev-dependencies.serde] - version = "1.0" -@@ -225,8 +225,6 @@ - version = "0.2" - - [features] --__internal_flaky_tests = [] --__internal_happy_eyeballs_tests = [] --default = ["__internal_flaky_tests", "runtime"] -+default = ["runtime"] - nightly = [] - runtime = ["futures-cpupool", "net2", "tokio", "tokio-executor", "tokio-reactor", "tokio-tcp", "tokio-threadpool", "tokio-timer"] diff --git a/rust-hyper.spec b/rust-hyper.spec index e49c56c..994cd2b 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -6,19 +6,14 @@ %global crate hyper Name: rust-%{crate} -Version: 0.12.30 -Release: 3%{?dist} +Version: 0.12.31 +Release: 1%{?dist} Summary: Fast and correct HTTP library # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/hyper Source: %{crates_source} -# Initial patched metadata -# * Drop internal features -# * Update pretty_env_logger to 0.3, https://github.com/hyperium/hyper/pull/1832 -# * Update want to 0.2, https://github.com/hyperium/hyper/pull/1833 -Patch0: hyper-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -57,6 +52,30 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml +%package -n %{name}+__internal_flaky_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__internal_flaky_tests-devel %{_description} + +This package contains library source intended for building other packages +which use "__internal_flaky_tests" feature of "%{crate}" crate. + +%files -n %{name}+__internal_flaky_tests-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + +%package -n %{name}+__internal_happy_eyeballs_tests-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+__internal_happy_eyeballs_tests-devel %{_description} + +This package contains library source intended for building other packages +which use "__internal_happy_eyeballs_tests" feature of "%{crate}" crate. + +%files -n %{name}+__internal_happy_eyeballs_tests-devel +%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml + %package -n %{name}+futures-cpupool-devel Summary: %{summary} BuildArch: noarch @@ -197,6 +216,9 @@ which use "tokio-timer" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 27 08:14:30 CEST 2019 Igor Gnatenko - 0.12.31-4 +- Regenerate + * Fri Jun 21 21:49:45 CEST 2019 Igor Gnatenko - 0.12.30-3 - Update want to 0.2 diff --git a/sources b/sources index b5f2186..a722cb3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.12.30.crate) = fc99009efd1bb656c94072be62d07194d4033fc163b6db5aff2ce1091ed9dd837ca993b540b99041fc218d70aa5ef05103e278a3a6e35811652e2cbd4c6e5b12 +SHA512 (hyper-0.12.31.crate) = ecb5b70e80a727b2a9e7191ac4cc782e0508c4ab013f3eddbb44ff19cd32af548b61954ae2393d375c5530dffe5e50d0a7641dcbdad6d80d360f680bb4fc1b81