From ba8d2cf59e03865e8873ce3c6f73ca00d4c20288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= Date: Thu, 17 Jun 2021 19:51:34 +0200 Subject: [PATCH] Bump strum_macros to 0.21 --- libbpf-rs-fix-metadata.diff | 11 ++++++++++- rust-libbpf-rs.spec | 6 +++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/libbpf-rs-fix-metadata.diff b/libbpf-rs-fix-metadata.diff index a526824..1acc9ff 100644 --- a/libbpf-rs-fix-metadata.diff +++ b/libbpf-rs-fix-metadata.diff @@ -1,5 +1,5 @@ --- libbpf-rs-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ libbpf-rs-0.11.0/Cargo.toml 2021-06-08T14:38:39.878402+00:00 ++++ libbpf-rs-0.11.0/Cargo.toml 2021-06-17T17:41:41.895147+00:00 @@ -25,7 +25,7 @@ version = "1.2" @@ -9,3 +9,12 @@ [dependencies.nix] version = "0.17" +@@ -34,7 +34,7 @@ + version = "0.5" + + [dependencies.strum_macros] +-version = "0.18" ++version = "0.21" + + [dependencies.thiserror] + version = "1.0" diff --git a/rust-libbpf-rs.spec b/rust-libbpf-rs.spec index e144e34..b5f35ee 100644 --- a/rust-libbpf-rs.spec +++ b/rust-libbpf-rs.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 0.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Safe, idiomatic, and opinionated wrapper around libbpf-sys # Upstream license specification: LGPL-2.1 OR BSD-2-Clause @@ -15,6 +15,7 @@ License: LGPLv2 or BSD URL: https://crates.io/crates/libbpf-rs Source: %{crates_source} # Bump libbpf-sys to 0.4.0-1: https://github.com/libbpf/libbpf-rs/pull/112 +# Bump strum_macros to 0.21 https://github.com/libbpf/libbpf-rs/pull/116 Patch0: libbpf-rs-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -74,6 +75,9 @@ which use "default" feature of "%{crate}" crate. %endif %changelog +* Thu Jun 17 2021 Robert-André Mauchin - 0.11.0-2 +- Bump strum_macros to 0.21 + * Fri Jun 04 2021 Davide Cavalca - 0.11.0-1 - Update to 0.11.0 - Backport PR#112 to bump libbpf-sys to 0.4.0-1