diff --git a/object-0.9.0-fix-metadata.diff b/object-0.9.0-fix-metadata.diff index 2ff447e..9e8cd3d 100644 --- a/object-0.9.0-fix-metadata.diff +++ b/object-0.9.0-fix-metadata.diff @@ -1,16 +1,20 @@ --- object-0.9.0/Cargo.toml 1970-01-01T01:00:00+01:00 -+++ object-0.9.0/Cargo.toml 2018-07-28T16:52:21.092836+02:00 -@@ -27,10 +27,6 @@ ++++ object-0.9.0/Cargo.toml 2018-07-28T17:39:05.114833+02:00 +@@ -23,13 +23,9 @@ + optional = true + + [dependencies.goblin] +-version = "0.0.15" ++version = "0.0.17" features = ["endian_fd", "elf32", "elf64", "mach32", "mach64", "pe32", "pe64", "archive"] default-features = false - +- -[dependencies.parity-wasm] -version = "0.31.0" -optional = true -- + [dependencies.scroll] version = "0.9" - default-features = false @@ -43,6 +39,5 @@ [features] diff --git a/rust-object.spec b/rust-object.spec index bba20e9..10312a5 100644 --- a/rust-object.spec +++ b/rust-object.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.9.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Unified interface for parsing object file formats License: ASL 2.0 or MIT @@ -14,6 +14,7 @@ URL: https://crates.io/crates/object Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate # Initial patched metadata # * parity-wasm is not packaged yet +# * Bump goblin to 0.0.17, https://github.com/gimli-rs/object/pull/63 Patch0: object-0.9.0-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -21,7 +22,7 @@ ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(flate2) >= 1.0.0 with crate(flate2) < 2.0.0) -BuildRequires: ((crate(goblin) >= 0.0.15 with crate(goblin) < 0.0.16) with crate(goblin/endian_fd) with crate(goblin/elf32) with crate(goblin/elf64) with crate(goblin/mach32) with crate(goblin/mach64) with crate(goblin/pe32) with crate(goblin/pe64) with crate(goblin/archive)) +BuildRequires: ((crate(goblin) >= 0.0.17 with crate(goblin) < 0.0.18) with crate(goblin/endian_fd) with crate(goblin/elf32) with crate(goblin/elf64) with crate(goblin/mach32) with crate(goblin/mach64) with crate(goblin/pe32) with crate(goblin/pe64) with crate(goblin/archive)) BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0) BuildRequires: (crate(uuid) >= 0.6.0 with crate(uuid) < 0.7.0) %if %{with check} @@ -64,6 +65,9 @@ which use %{crate} from crates.io. %exclude %{cargo_registry}/%{crate}-%{version}/coverage %changelog +* Sat Jul 28 2018 Igor Gnatenko - 0.9.0-2 +- Bump goblin to 0.0.17 + * Sat Jul 28 2018 Igor Gnatenko - 0.9.0-1 - Update to 0.9.0