diff --git a/libbpf-cargo-fix-metadata.diff b/libbpf-cargo-fix-metadata.diff index 0aa7f96..2759ff9 100644 --- a/libbpf-cargo-fix-metadata.diff +++ b/libbpf-cargo-fix-metadata.diff @@ -1,7 +1,24 @@ --- libbpf-cargo-0.10.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libbpf-cargo-0.10.0/Cargo.toml 2022-02-16T21:59:17.437128+00:00 -@@ -74,6 +74,7 @@ - version = "0.2" ++++ libbpf-cargo-0.10.0/Cargo.toml 2022-07-22T12:16:13.899028+00:00 +@@ -47,10 +47,10 @@ + version = "1.5" + + [dependencies.scroll] +-version = "0.10" ++version = "0.11" + + [dependencies.scroll_derive] +-version = "0.10" ++version = "0.11" + + [dependencies.semver] + version = "1.0" +@@ -71,9 +71,10 @@ + [dependencies.thiserror] + version = "1.0" + [dev-dependencies.goblin] +-version = "0.2" ++version = "0.5" [features] +default = ["novendor"] diff --git a/rust-libbpf-cargo.spec b/rust-libbpf-cargo.spec index 1a3d957..36d0b6f 100644 --- a/rust-libbpf-cargo.spec +++ b/rust-libbpf-cargo.spec @@ -12,7 +12,10 @@ Summary: Cargo plugin to build bpf programs License: LGPLv2 or BSD URL: https://crates.io/crates/libbpf-cargo Source: %{crates_source} -# Turn on the novendor feature by default +# * turn on the novendor feature by default +# * bump scroll and scroll_derive from 0.10 to 0.11, +# * bump goblin from 0.2 to 0.5: +# https://github.com/libbpf/libbpf-rs/commit/56608e0 Patch0: libbpf-cargo-fix-metadata.diff # Fix finding libbpf-rs Patch1: libbpf-cargo-fix-finding-libbpf-rs.patch