From 1f37b1732e59cb24a1fb2679c92eaa0df76b42ed Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Thu, 29 Jul 2021 10:47:19 -0700 Subject: [PATCH] Update to 0.11.2; Fixes: RHBZ#1983187 --- .gitignore | 1 + libbpf-rs-fix-metadata.diff | 8 ++++---- rust-libbpf-rs.spec | 8 ++++---- sources | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 32b1e77..cea7373 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /libbpf-rs-0.10.0.crate /libbpf-rs-0.11.0.crate /libbpf-rs-0.11.1.crate +/libbpf-rs-0.11.2.crate diff --git a/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff index 1c6320c..bc7499b 100644 --- a/libbpf-rs-fix-metadata.diff +++ b/libbpf-rs-fix-metadata.diff @@ -1,10 +1,10 @@ ---- libbpf-rs-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ libbpf-rs-0.11.1/Cargo.toml 2021-06-26T15:28:50.755831+00:00 +--- libbpf-rs-0.11.2/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ libbpf-rs-0.11.2/Cargo.toml 2021-07-29T17:41:12.724390+00:00 @@ -28,7 +28,7 @@ - version = "0.4.0-1" + version = "0.4.0-2" [dependencies.nix] --version = "0.17" +-version = "0.21" +version = "0.20" [dependencies.num_enum] diff --git a/rust-libbpf-rs.spec b/rust-libbpf-rs.spec index d1dc82e..cb874a0 100644 --- a/rust-libbpf-rs.spec +++ b/rust-libbpf-rs.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 18 # Tests don't work in mock at the moment %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate libbpf-rs Name: rust-%{crate} -Version: 0.11.1 +Version: 0.11.2 Release: %autorelease Summary: Safe, idiomatic, and opinionated wrapper around libbpf-sys @@ -14,7 +14,7 @@ Summary: Safe, idiomatic, and opinionated wrapper around libbpf-sys License: LGPLv2 or BSD URL: https://crates.io/crates/libbpf-rs Source: %{crates_source} -# Bump nix to 0.20 +# Downgrade nix to 0.20 Patch0: libbpf-rs-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -39,7 +39,7 @@ This package contains library source intended for building other packages which use "%{crate}" crate. %files devel -%license LICENSE LICENSE.BSD-2-Clause LICENSE.LPGL-2.1 +%license LICENSE.LPGL-2.1 LICENSE.BSD-2-Clause LICENSE %doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ diff --git a/sources b/sources index 4ee0f99..8312859 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libbpf-rs-0.11.1.crate) = 659bbd440dd2f3cff1349a6acaf7c542d715007a464b8a29c334ec6c19fc732f1dd90b7f7458da9569de7ddef9c7213290abe430056c2998aa083d4cea6b7879 +SHA512 (libbpf-rs-0.11.2.crate) = dbef8ef8eb4104ea7521574d5433cf421ad0923dcdd6d6c4b6ada1bbdfa560b92cc7514c912619ed57650492753609bfcf847095f4c0c7e1ae968a84bddf8237