From dfb9f70ede570bc975281918bce3dffdfb5fabfd Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 15 Jul 2022 13:34:43 +0200 Subject: [PATCH] Update to version 0.1.28; Fixes RHBZ#2094565 --- .gitignore | 1 + rust-tracing-core.spec | 11 +++++------ sources | 2 +- tracing-core-fix-metadata.diff | 15 ++++++++++----- 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 3f1f086..a75e78f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /tracing-core-0.1.22.crate /tracing-core-0.1.23.crate /tracing-core-0.1.26.crate +/tracing-core-0.1.28.crate diff --git a/rust-tracing-core.spec b/rust-tracing-core.spec index 3d6b45b..4457c08 100644 --- a/rust-tracing-core.spec +++ b/rust-tracing-core.spec @@ -5,7 +5,7 @@ %global crate tracing-core Name: rust-%{crate} -Version: 0.1.26 +Version: 0.1.28 Release: %autorelease Summary: Core primitives for application-level tracing @@ -37,7 +37,6 @@ use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE -%license %{crate_instdir}/src/lazy_static/LICENSE %license %{crate_instdir}/src/spin/LICENSE %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md @@ -55,16 +54,16 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+lazy_static-devel +%package -n %{name}+once_cell-devel Summary: %{summary} BuildArch: noarch -%description -n %{name}+lazy_static-devel %{_description} +%description -n %{name}+once_cell-devel %{_description} This package contains library source intended for building other packages which -use the "lazy_static" feature of the "%{crate}" crate. +use the "once_cell" feature of the "%{crate}" crate. -%files -n %{name}+lazy_static-devel +%files -n %{name}+once_cell-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel diff --git a/sources b/sources index a60a90e..4e4f5fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tracing-core-0.1.26.crate) = b9d44c307d0fee51675bef07ed7f7d2eb8de8a6ffb37256994f3485f7f80e40f1fa9de1663e5360f945270f10d22e42cd9af60193449bd0a0d323895e994bdbb +SHA512 (tracing-core-0.1.28.crate) = d48ac579f01123296eab18478888b916cdb64f1d8942e06e08984a77927ff5cac4328b1586800252c16472947f1b3c53c9a30c8b59a4a905210c54429b7d4b60 diff --git a/tracing-core-fix-metadata.diff b/tracing-core-fix-metadata.diff index 71611a1..ea083ab 100644 --- a/tracing-core-fix-metadata.diff +++ b/tracing-core-fix-metadata.diff @@ -1,15 +1,20 @@ ---- tracing-core-0.1.26/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ tracing-core-0.1.26/Cargo.toml 2022-05-24T21:52:55.203035+00:00 -@@ -31,11 +31,7 @@ +--- 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", +- "valuable/std", +-] +default = ["std"] - std = ["lazy_static"] + std = ["once_cell"] +- -[target."cfg(tracing_unstable)".dependencies.valuable] -version = "0.1.0" -optional = true -default_features = false + [badges.maintenance] status = "actively-developed"