From a4a9f612c2be1a1ef287c5cdb9743706c342a3b2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 10 Sep 2018 08:50:44 +0200 Subject: [PATCH] Update to 0.1.12 Signed-off-by: Igor Gnatenko --- .gitignore | 1 + http-fix-metadata.diff | 11 +++++++++++ rust-http.spec | 13 +++++++++---- sources | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 http-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 7c925e5..4494bea 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /http-0.1.9.crate /http-0.1.10.crate /http-0.1.11.crate +/http-0.1.12.crate diff --git a/http-fix-metadata.diff b/http-fix-metadata.diff new file mode 100644 index 0000000..c9fffa9 --- /dev/null +++ b/http-fix-metadata.diff @@ -0,0 +1,11 @@ +--- http-0.1.12/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ http-0.1.12/Cargo.toml 2018-09-10T08:50:11.500663+02:00 +@@ -42,7 +42,7 @@ + version = "1.0" + + [dev-dependencies.quickcheck] +-version = "0.6" ++version = "0.7" + + [dev-dependencies.rand] + version = "0.4" diff --git a/rust-http.spec b/rust-http.spec index d3d4442..c92bb46 100644 --- a/rust-http.spec +++ b/rust-http.spec @@ -1,12 +1,11 @@ # Generated by rust2rpm -# Tests are run in infrastructure -%bcond_with check +%bcond_without check %global debug_package %{nil} %global crate http Name: rust-%{crate} -Version: 0.1.11 +Version: 0.1.12 Release: 1%{?dist} Summary: Set of types for representing HTTP requests and responses @@ -14,6 +13,9 @@ Summary: Set of types for representing HTTP requests and responses License: MIT or ASL 2.0 URL: https://crates.io/crates/http Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump quickcheck to 0.7, https://github.com/hyperium/http/pull/246 +Patch0: http-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -25,7 +27,7 @@ BuildRequires: (crate(itoa) >= 0.4.1 with crate(itoa) < 0.5.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(indexmap) >= 1.0.0 with crate(indexmap) < 2.0.0) -BuildRequires: (crate(quickcheck) >= 0.6.0 with crate(quickcheck) < 0.7.0) +BuildRequires: (crate(quickcheck) >= 0.7.0 with crate(quickcheck) < 0.8.0) BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: (crate(seahash) >= 3.0.5 with crate(seahash) < 4.0.0) BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) @@ -66,6 +68,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Mon Sep 10 2018 Igor Gnatenko - 0.1.12-1 +- Update to 0.1.12 + * Sat Sep 08 2018 Josh Stone - 0.1.11-1 - Update to 0.1.11 diff --git a/sources b/sources index 3a048a4..898ee0e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (http-0.1.11.crate) = c0cd3afa06d05cb32e1389374bbee5338aa03d343c2b9048d515f99f29261c903b6d4911c75b6d83f3f06e6f88ccc7900436f8e6781469943314a2294142b5ce +SHA512 (http-0.1.12.crate) = a198735826399dd72f138b9d67fdfb15d0648e6c2454d29dcc408dddf015298d16c8b3558d4676be23d4d82478be97c527b1c7dba572beed587babc25140da94