From ffa09a97c1ef7c0a5b23dc239360e5811a35532b Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Apr 20 2019 14:16:07 +0000 Subject: Update fallible-iterator to 0.2 Signed-off-by: Igor Gnatenko --- diff --git a/gimli-fix-metadata.diff b/gimli-fix-metadata.diff index 082a0a2..16cd789 100644 --- a/gimli-fix-metadata.diff +++ b/gimli-fix-metadata.diff @@ -1,10 +1,16 @@ ---- gimli-0.16.1/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ gimli-0.16.1/Cargo.toml 2019-02-10T15:17:31.951200+01:00 -@@ -65,7 +65,6 @@ - version = "1" +--- gimli-0.17.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ gimli-0.17.0/Cargo.toml 2019-04-20T14:15:02.760439+00:00 +@@ -31,11 +31,11 @@ + default-features = false - [features] --alloc = ["fallible-iterator/alloc", "stable_deref_trait/alloc"] - default = ["std"] - std = ["fallible-iterator/std", "stable_deref_trait/std"] - [badges.coveralls] + [dependencies.fallible-iterator] +-version = "0.1.4" ++version = "0.2.0" + default-features = false + + [dependencies.indexmap] +-version = "1.0" ++version = "1.0.2" + optional = true + + [dependencies.stable_deref_trait] diff --git a/rust-gimli.spec b/rust-gimli.spec index 9677b95..77ca117 100644 --- a/rust-gimli.spec +++ b/rust-gimli.spec @@ -13,15 +13,19 @@ Summary: Library for reading and writing the DWARF debugging format License: ASL 2.0 or MIT URL: https://crates.io/crates/gimli Source: %{crates_source} +# Initial patched metadata +# * Update fallible-iterator to 0.2.0, https://github.com/gimli-rs/gimli/commit/6bbb7f85f7607a030525167fdbf4a5be7a791eb1 +# * Update minimum indexmap to 1.0.2, https://github.com/gimli-rs/gimli/commit/912e393b77e4578d2e2e89a4cba38716c873749c +Patch0: gimli-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(arrayvec) >= 0.4.6 with crate(arrayvec) < 0.5.0) BuildRequires: (crate(byteorder) >= 1.0.0 with crate(byteorder) < 2.0.0) -BuildRequires: (crate(fallible-iterator) >= 0.1.4 with crate(fallible-iterator) < 0.2.0) -BuildRequires: (crate(fallible-iterator/std) >= 0.1.4 with crate(fallible-iterator/std) < 0.2.0) -BuildRequires: (crate(indexmap/default) >= 1.0.0 with crate(indexmap/default) < 2.0.0) +BuildRequires: (crate(fallible-iterator) >= 0.2.0 with crate(fallible-iterator) < 0.3.0) +BuildRequires: (crate(fallible-iterator/std) >= 0.2.0 with crate(fallible-iterator/std) < 0.3.0) +BuildRequires: (crate(indexmap/default) >= 1.0.2 with crate(indexmap/default) < 2.0.0) BuildRequires: (crate(stable_deref_trait) >= 1.1.0 with crate(stable_deref_trait) < 2.0.0) BuildRequires: (crate(stable_deref_trait/std) >= 1.1.0 with crate(stable_deref_trait/std) < 2.0.0) %if %{with check}