From 170554474a4ad735673acc8622f0b7c2fc88daf5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 31 May 2019 16:02:02 +0200 Subject: [PATCH] Update to 0.1.21 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + h2-fix-metadata.diff | 11 +++++++++++ rust-h2.spec | 18 ++++++++++++------ sources | 2 +- 4 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 h2-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a8bb019..1c852d0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /h2-0.1.16.crate /h2-0.1.17.crate /h2-0.1.18.crate +/h2-0.1.21.crate diff --git a/h2-fix-metadata.diff b/h2-fix-metadata.diff new file mode 100644 index 0000000..cdf02db --- /dev/null +++ b/h2-fix-metadata.diff @@ -0,0 +1,11 @@ +--- h2-0.1.21/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ h2-0.1.21/Cargo.toml 2019-05-31T14:01:10.940740+00:00 +@@ -47,7 +47,7 @@ + version = "0.4.0" + + [dependencies.string] +-version = "0.1" ++version = "0.2" + + [dependencies.tokio-io] + version = "0.1.4" diff --git a/rust-h2.spec b/rust-h2.spec index 50a3929..2e6496c 100644 --- a/rust-h2.spec +++ b/rust-h2.spec @@ -1,18 +1,21 @@ -# Generated by rust2rpm -# * We don't want to package rustls +# Generated by rust2rpm 9 %bcond_with check %global debug_package %{nil} %global crate h2 Name: rust-%{crate} -Version: 0.1.18 +Version: 0.1.21 Release: 1%{?dist} Summary: HTTP/2.0 client and server +# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/h2 Source: %{crates_source} +# Initial patched metadata +# * Update string to 0.2, https://github.com/hyperium/h2/pull/363 +Patch0: h2-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +28,7 @@ BuildRequires: (crate(http/default) >= 0.1.8 with crate(http/default) < 0.2.0) BuildRequires: (crate(indexmap/default) >= 1.0.0 with crate(indexmap/default) < 2.0.0) BuildRequires: (crate(log/default) >= 0.4.1 with crate(log/default) < 0.5.0) BuildRequires: (crate(slab/default) >= 0.4.0 with crate(slab/default) < 0.5.0) -BuildRequires: (crate(string/default) >= 0.1.0 with crate(string/default) < 0.2.0) +BuildRequires: (crate(string/default) >= 0.2.0 with crate(string/default) < 0.3.0) BuildRequires: (crate(tokio-io/default) >= 0.1.4 with crate(tokio-io/default) < 0.2.0) %if %{with check} BuildRequires: (crate(env_logger) >= 0.5.3 with crate(env_logger) < 0.6.0) @@ -42,8 +45,8 @@ BuildRequires: (crate(webpki-roots/default) >= 0.14.0 with crate(webpki-roots/d BuildRequires: (crate(webpki/default) >= 0.18.0 with crate(webpki/default) < 0.19.0) %endif -%global _description \ -An HTTP/2.0 client and server. +%global _description %{expand: +HTTP/2.0 client and server.} %description %{_description} @@ -101,6 +104,9 @@ which use "unstable" feature of "%{crate}" crate. %endif %changelog +* Fri May 31 16:01:11 CEST 2019 Igor Gnatenko - 0.1.21-1 +- Update to 0.1.21 + * Wed Apr 10 07:39:15 CEST 2019 Igor Gnatenko - 0.1.18-1 - Update to 0.1.18 diff --git a/sources b/sources index 8880e94..1d528a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (h2-0.1.18.crate) = 1f309a492dc6aafd1476cb575121655e70225521afdd96117d6c675acbf968a9ed88b78bfed79ede8604bc7c128840cc61c126a2c2875a0a5b4162112d46c77d +SHA512 (h2-0.1.21.crate) = 87fb7961ded877c8b384a1ff1d5ae42966721debccdea1eda3912f98bdae6a71f27ffff7b642d69cb098a7b5a289dabf9687370d4a97a77aebbf9a6c6cd68f7b