From 0364c5259e01d876f51ee4aeef2c183412251943 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 15 Jan 2019 16:14:11 -0800 Subject: [PATCH] Update to 0.12.21 --- .gitignore | 1 + hyper-fix-metadata.diff | 12 ++++++++++++ rust-hyper.spec | 20 +++++++------------- sources | 2 +- 4 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 hyper-fix-metadata.diff diff --git a/.gitignore b/.gitignore index c10358b..eb477ca 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ /hyper-0.12.17.crate /hyper-0.12.18.crate /hyper-0.12.20.crate +/hyper-0.12.21.crate diff --git a/hyper-fix-metadata.diff b/hyper-fix-metadata.diff new file mode 100644 index 0000000..b1d5859 --- /dev/null +++ b/hyper-fix-metadata.diff @@ -0,0 +1,12 @@ +--- hyper-0.12.21/Cargo.toml 1969-12-31T16:00:00-08:00 ++++ hyper-0.12.21/Cargo.toml 2019-01-15T14:04:14.103079-08:00 +@@ -217,8 +217,5 @@ + version = "1.0" + + [features] +-__internal_flaky_tests = [] +-__internal_happy_eyeballs_tests = [] +-default = ["__internal_flaky_tests", "runtime"] +-nightly = [] ++default = ["runtime"] + 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 adb9d67..0e6059f 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -6,13 +6,16 @@ %global crate hyper Name: rust-%{crate} -Version: 0.12.20 +Version: 0.12.21 Release: 1%{?dist} 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 +# * Remove internal and nightly features +Patch0: hyper-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -79,18 +82,6 @@ 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}+futures-cpupool-devel Summary: %{summary} BuildArch: noarch @@ -216,6 +207,9 @@ which use "tokio-timer" feature of "%{crate}" crate. %endif %changelog +* Tue Jan 15 2019 Josh Stone - 0.12.21-1 +- Update to 0.12.21 + * Tue Jan 08 2019 Josh Stone - 0.12.20-1 - Update to 0.12.20 diff --git a/sources b/sources index a1a8a97..9264d8f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.12.20.crate) = 1e9df0908fb4c4d19b27798d2bb0e33aaacf7e6b9c7bea807baa0b05f051883c6b792cbc5843af643ea80ed455b2bf1b1391853d135b2778b34b16f4df110c53 +SHA512 (hyper-0.12.21.crate) = 8af887d9f95ffc4f31f96b28436437eef8e48b60fac019b96fa934f4c5e0939a66a837b4cae9974ea1fc8c929d1b7eba7731a54fc809282c06f553f510eaa600