From fd120e4baabceaa5ac725729f7220a3fb2beb2b1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 10:44:56 +0100 Subject: [PATCH] Bump scroll to 0.9 Signed-off-by: Igor Gnatenko --- goblin-0.0.14-fix-metadata.diff | 11 +++++++++++ rust-goblin.spec | 10 ++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 goblin-0.0.14-fix-metadata.diff diff --git a/goblin-0.0.14-fix-metadata.diff b/goblin-0.0.14-fix-metadata.diff new file mode 100644 index 0000000..0e59bcc --- /dev/null +++ b/goblin-0.0.14-fix-metadata.diff @@ -0,0 +1,11 @@ +--- goblin-0.0.14/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ goblin-0.0.14/Cargo.toml 2018-02-03T10:45:21.638725+01:00 +@@ -32,7 +32,7 @@ + version = "0.2.3" + + [dependencies.scroll] +-version = "0.8.0" ++version = "0.9.0" + default_features = false + [dev-dependencies.env_logger] + version = "0.4.3" diff --git a/rust-goblin.spec b/rust-goblin.spec index 5b5d75a..27598ea 100644 --- a/rust-goblin.spec +++ b/rust-goblin.spec @@ -6,12 +6,15 @@ Name: rust-%{crate} Version: 0.0.14 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate License: MIT URL: https://crates.io/crates/goblin Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump scroll to 0.9, https://github.com/m4b/goblin/pull/78 +Patch0: goblin-0.0.14-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -19,7 +22,7 @@ BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(log) >= 0.3.8 with crate(log) < 0.4.0) BuildRequires: (crate(plain) >= 0.2.3 with crate(plain) < 0.3.0) -BuildRequires: (crate(scroll) >= 0.8.0 with crate(scroll) < 0.9.0) +BuildRequires: (crate(scroll) >= 0.9.0 with crate(scroll) < 0.10.0) %if %{with check} # [dev-dependencies] BuildRequires: (crate(env_logger) >= 0.4.3 with crate(env_logger) < 0.5.0) @@ -60,6 +63,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.0.14-2 +- Bump scroll to 0.9 + * Thu Jan 18 2018 Igor Gnatenko - 0.0.14-1 - Update to 0.0.14