From 67e222180cd05f03c77dfc9a250d4ec1d01ae2e1 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 20 Feb 2022 17:38:16 +0100 Subject: [PATCH] Update simplelog to 0.11 Signed-off-by: Igor Raits --- .gitignore | 3 +-- rd-util-fix-metadata.diff | 11 +++++++++++ rust-rd-util.spec | 16 ++++++++-------- 3 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 rd-util-fix-metadata.diff diff --git a/.gitignore b/.gitignore index 2aa0a34..95fbaa8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/rd-util-2.1.1.crate -/rd-util-2.1.2.crate +/rd-util-*.crate diff --git a/rd-util-fix-metadata.diff b/rd-util-fix-metadata.diff new file mode 100644 index 0000000..fbb788b --- /dev/null +++ b/rd-util-fix-metadata.diff @@ -0,0 +1,11 @@ +--- rd-util-2.1.2/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ rd-util-2.1.2/Cargo.toml 2022-02-20T16:37:27.910551+00:00 +@@ -87,7 +87,7 @@ + version = "^1.0" + + [dependencies.simplelog] +-version = "^0.10" ++version = "^0.11" + + [dependencies.sysinfo] + version = "^0.19" diff --git a/rust-rd-util.spec b/rust-rd-util.spec index 341a31e..09783d1 100644 --- a/rust-rd-util.spec +++ b/rust-rd-util.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} @@ -13,11 +13,11 @@ Summary: Utility collection library for resctl-demo License: ASL 2.0 URL: https://crates.io/crates/rd-util Source: %{crates_source} +# Initial patched metadata +# * Bump simplelog to 0.11, https://github.com/facebookexperimental/resctl-demo/pull/262 +Patch0: rd-util-fix-metadata.diff ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,8 +32,8 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE @@ -46,8 +46,8 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml