From 6c05b52d1a83271c7fb550fec6511aa641f4d084 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 20 Apr 2019 17:47:15 +0200 Subject: [PATCH] Update goblin to 0.0.22 Signed-off-by: Igor Gnatenko --- object-fix-metadata.diff | 11 +++++++++++ rust-object.spec | 26 ++++++++++++++++---------- 2 files changed, 27 insertions(+), 10 deletions(-) create mode 100644 object-fix-metadata.diff diff --git a/object-fix-metadata.diff b/object-fix-metadata.diff new file mode 100644 index 0000000..530e1a8 --- /dev/null +++ b/object-fix-metadata.diff @@ -0,0 +1,11 @@ +--- object-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ object-0.11.0/Cargo.toml 2019-04-20T15:45:43.618313+00:00 +@@ -24,7 +24,7 @@ + optional = true + + [dependencies.goblin] +-version = "0.0.19" ++version = "0.0.22" + features = ["endian_fd", "elf32", "elf64", "mach32", "mach64", "pe32", "pe64", "archive"] + default-features = false + diff --git a/rust-object.spec b/rust-object.spec index 9664300..03680f7 100644 --- a/rust-object.spec +++ b/rust-object.spec @@ -6,27 +6,30 @@ Name: rust-%{crate} Version: 0.11.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Unified interface for parsing object file formats # Upstream license specification: Apache-2.0/MIT License: ASL 2.0 or MIT URL: https://crates.io/crates/object Source: %{crates_source} +# Initial patched metadata +# * Update goblin to 0.0.22, https://github.com/gimli-rs/object/pull/105 +Patch0: object-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging BuildRequires: (crate(flate2/default) >= 1.0.0 with crate(flate2/default) < 2.0.0) -BuildRequires: (crate(goblin/archive) >= 0.0.19 with crate(goblin/archive) < 0.0.20) -BuildRequires: (crate(goblin/elf32) >= 0.0.19 with crate(goblin/elf32) < 0.0.20) -BuildRequires: (crate(goblin/elf64) >= 0.0.19 with crate(goblin/elf64) < 0.0.20) -BuildRequires: (crate(goblin/endian_fd) >= 0.0.19 with crate(goblin/endian_fd) < 0.0.20) -BuildRequires: (crate(goblin/mach32) >= 0.0.19 with crate(goblin/mach32) < 0.0.20) -BuildRequires: (crate(goblin/mach64) >= 0.0.19 with crate(goblin/mach64) < 0.0.20) -BuildRequires: (crate(goblin/pe32) >= 0.0.19 with crate(goblin/pe32) < 0.0.20) -BuildRequires: (crate(goblin/pe64) >= 0.0.19 with crate(goblin/pe64) < 0.0.20) -BuildRequires: (crate(goblin/std) >= 0.0.19 with crate(goblin/std) < 0.0.20) +BuildRequires: (crate(goblin/archive) >= 0.0.22 with crate(goblin/archive) < 0.0.23) +BuildRequires: (crate(goblin/elf32) >= 0.0.22 with crate(goblin/elf32) < 0.0.23) +BuildRequires: (crate(goblin/elf64) >= 0.0.22 with crate(goblin/elf64) < 0.0.23) +BuildRequires: (crate(goblin/endian_fd) >= 0.0.22 with crate(goblin/endian_fd) < 0.0.23) +BuildRequires: (crate(goblin/mach32) >= 0.0.22 with crate(goblin/mach32) < 0.0.23) +BuildRequires: (crate(goblin/mach64) >= 0.0.22 with crate(goblin/mach64) < 0.0.23) +BuildRequires: (crate(goblin/pe32) >= 0.0.22 with crate(goblin/pe32) < 0.0.23) +BuildRequires: (crate(goblin/pe64) >= 0.0.22 with crate(goblin/pe64) < 0.0.23) +BuildRequires: (crate(goblin/std) >= 0.0.22 with crate(goblin/std) < 0.0.23) BuildRequires: (crate(parity-wasm/default) >= 0.35.0 with crate(parity-wasm/default) < 0.36.0) BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0) BuildRequires: (crate(uuid) >= 0.7.0 with crate(uuid) < 0.8.0) @@ -142,6 +145,9 @@ which use "wasm" feature of "%{crate}" crate. %endif %changelog +* Sat Apr 20 17:45:43 CEST 2019 Igor Gnatenko - 0.11.0-4 +- Update goblin to 0.0.22 + * Fri Apr 05 16:26:43 CEST 2019 Igor Gnatenko - 0.11.0-3 - Run tests in infrastructure