From 113468b5306677df75eb5e235d3d8c5d055a4a55 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 29 Jul 2022 22:47:20 +0200 Subject: [PATCH] Update to version 0.1.29; Fixes RHBZ#2112470 --- .gitignore | 1 + rust-tracing-core.spec | 12 +++++------- sources | 2 +- tracing-core-fix-metadata-auto.diff | 17 +++++++++++++++++ tracing-core-fix-metadata.diff | 20 -------------------- 5 files changed, 24 insertions(+), 28 deletions(-) create mode 100644 tracing-core-fix-metadata-auto.diff delete mode 100644 tracing-core-fix-metadata.diff diff --git a/.gitignore b/.gitignore index a75e78f..86be0c5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /tracing-core-0.1.23.crate /tracing-core-0.1.26.crate /tracing-core-0.1.28.crate +/tracing-core-0.1.29.crate diff --git a/rust-tracing-core.spec b/rust-tracing-core.spec index 4457c08..3178e0e 100644 --- a/rust-tracing-core.spec +++ b/rust-tracing-core.spec @@ -1,21 +1,19 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 22 %bcond_without check %global debug_package %{nil} %global crate tracing-core -Name: rust-%{crate} -Version: 0.1.28 +Name: rust-tracing-core +Version: 0.1.29 Release: %autorelease Summary: Core primitives for application-level tracing -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/tracing-core Source: %{crates_source} -# Initial patched metadata -# * drop optional dependencies for unstable "valuable" feature -Patch0: tracing-core-fix-metadata.diff +# Automatically generated patch to strip foreign dependencies +Patch: tracing-core-fix-metadata-auto.diff ExclusiveArch: %{rust_arches} diff --git a/sources b/sources index 4e4f5fc..a27bfaa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tracing-core-0.1.28.crate) = d48ac579f01123296eab18478888b916cdb64f1d8942e06e08984a77927ff5cac4328b1586800252c16472947f1b3c53c9a30c8b59a4a905210c54429b7d4b60 +SHA512 (tracing-core-0.1.29.crate) = 47d07572dbe72b342baf7bf8ccd41ba870f277db24f4eba0e225f94746a5f2fe76ea340bc6e95a882168718ac4f1afdf4ee01bc57645a0ce3a5798374d175919 diff --git a/tracing-core-fix-metadata-auto.diff b/tracing-core-fix-metadata-auto.diff new file mode 100644 index 0000000..e1081f0 --- /dev/null +++ b/tracing-core-fix-metadata-auto.diff @@ -0,0 +1,17 @@ +--- tracing-core-0.1.29/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tracing-core-0.1.29/Cargo.toml 1970-01-01T00:00:01+00:00 +@@ -53,14 +53,8 @@ + [features] + default = [ + "std", +- "valuable/std", + ] + std = ["once_cell"] + +-[target."cfg(tracing_unstable)".dependencies.valuable] +-version = "0.1.0" +-optional = true +-default-features = false +- + [badges.maintenance] + status = "actively-developed" diff --git a/tracing-core-fix-metadata.diff b/tracing-core-fix-metadata.diff deleted file mode 100644 index ea083ab..0000000 --- a/tracing-core-fix-metadata.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- tracing-core-0.1.28/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ tracing-core-0.1.28/Cargo.toml 2022-07-15T11:30:53.681416+00:00 -@@ -51,16 +51,8 @@ - optional = true - - [features] --default = [ -- "std", -- "valuable/std", --] -+default = ["std"] - std = ["once_cell"] -- --[target."cfg(tracing_unstable)".dependencies.valuable] --version = "0.1.0" --optional = true --default_features = false - - [badges.maintenance] - status = "actively-developed"