From f82ca4f913829262eb2735f0eb70ec416a78f253 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Aug 2021 14:41:31 +0200 Subject: [PATCH] Update to version 0.14.12; Fixes RHBZ#1997322 --- .gitignore | 1 + .rust2rpm.conf | 4 ++++ hyper-fix-metadata.diff | 17 ----------------- rust-hyper.spec | 5 +---- sources | 2 +- 5 files changed, 7 insertions(+), 22 deletions(-) create mode 100644 .rust2rpm.conf delete mode 100644 hyper-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 892a384..9f60d90 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ /hyper-0.14.9.crate /hyper-0.14.10.crate /hyper-0.14.11.crate +/hyper-0.14.12.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..96ad884 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + __internal_happy_eyeballs_tests + nightly diff --git a/hyper-fix-metadata.diff b/hyper-fix-metadata.diff deleted file mode 100644 index e86a96f..0000000 --- a/hyper-fix-metadata.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- hyper-0.14.11/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ hyper-0.14.11/Cargo.toml 2021-07-28T21:36:00.081487+00:00 -@@ -266,14 +266,12 @@ - version = "2.2" - - [features] --__internal_happy_eyeballs_tests = [] - client = [] - default = [] - ffi = ["libc"] - full = ["client", "http1", "http2", "server", "stream", "runtime"] - http1 = [] - http2 = ["h2"] --nightly = [] - runtime = ["tcp", "tokio/rt"] - server = [] - stream = [] diff --git a/rust-hyper.spec b/rust-hyper.spec index bf4e801..49cc381 100644 --- a/rust-hyper.spec +++ b/rust-hyper.spec @@ -7,7 +7,7 @@ %global crate hyper Name: rust-%{crate} -Version: 0.14.11 +Version: 0.14.12 Release: %autorelease Summary: Fast and correct HTTP library @@ -15,9 +15,6 @@ Summary: Fast and correct HTTP library License: MIT URL: https://crates.io/crates/hyper Source: %{crates_source} -# Initial patched metadata -# * remove nightly-only / internal features -Patch0: hyper-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} diff --git a/sources b/sources index ec732e7..08288b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (hyper-0.14.11.crate) = c04875f2e3c1732ed29c4f73de24fc197486d157325fa8304aa29e6948984a01d91ae7e9455f56337d3cff2c270694cdec0dad950f1b4bc3f8b3c7964fc079af +SHA512 (hyper-0.14.12.crate) = bff751761be9931a577d79fe4041da97ae574c178f14ebcf2e2dc53e2cb14091f978f6647685382bbe746ab4f928ccc81f2b61c5c36b16836c123ca3137857d9