From 54b62f69c231e04cb94e30de39bdb953f469951c Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 26 Nov 2024 15:36:29 +0100 Subject: [PATCH] Update to version 0.1.33; Fixes RHBZ#2328815 --- .gitignore | 1 + rust-tracing-core.spec | 8 ++++---- rust2rpm.toml | 2 ++ sources | 2 +- tracing-core-fix-metadata-auto.diff | 16 ++++++++++------ 5 files changed, 18 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 4a84701..4909c3b 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /tracing-core-0.1.30.crate /tracing-core-0.1.31.crate /tracing-core-0.1.32.crate +/tracing-core-0.1.33.crate diff --git a/rust-tracing-core.spec b/rust-tracing-core.spec index d1206b4..1f4ee47 100644 --- a/rust-tracing-core.spec +++ b/rust-tracing-core.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 -%bcond_without check +# Generated by rust2rpm 27 +%bcond check 1 %global debug_package %{nil} %global crate tracing-core Name: rust-tracing-core -Version: 0.1.32 +Version: 0.1.33 Release: %autorelease Summary: Core primitives for application-level tracing @@ -90,7 +90,7 @@ use the "std" feature of the "%{crate}" crate. %if %{with check} %check # * skip a test that fails since Rust 1.52.1 but is not reproducible upstream -%cargo_test -- -- --skip field::test::value_sets_with_fields_from_other_callsites_are_empty +%cargo_test -- -- --exact --skip field::test::value_sets_with_fields_from_other_callsites_are_empty %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml index 747db5e..646cd28 100644 --- a/rust2rpm.toml +++ b/rust2rpm.toml @@ -1,3 +1,5 @@ [tests] skip = ["field::test::value_sets_with_fields_from_other_callsites_are_empty"] +skip-exact = true comments = ["skip a test that fails since Rust 1.52.1 but is not reproducible upstream"] + diff --git a/sources b/sources index d73e3f5..084e5a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tracing-core-0.1.32.crate) = 164f79cacfcca533a53b7dbbdc2015aaf851a16e00c72fbc4e5f515b6a6dedfa464e964810009b54f08cbcdc5a314e50245ac7b1b01a71fce4c63db135bf5521 +SHA512 (tracing-core-0.1.33.crate) = 1c6f0cf3b7bd6c8f6316ed9ea0b315a619308de6cbf7e50e665a193cf8c3399b5227d4f145d83b10c7e01a2f9fbc83d16e108cf09b7fd6cef413aa5c1acf89ef diff --git a/tracing-core-fix-metadata-auto.diff b/tracing-core-fix-metadata-auto.diff index b39dd93..750c80f 100644 --- a/tracing-core-fix-metadata-auto.diff +++ b/tracing-core-fix-metadata-auto.diff @@ -1,18 +1,22 @@ ---- tracing-core-0.1.32/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ tracing-core-0.1.32/Cargo.toml 2023-10-15T10:23:18.475851+00:00 -@@ -53,14 +53,9 @@ +--- tracing-core-0.1.33/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tracing-core-0.1.33/Cargo.toml 2024-11-26T14:35:36.960475+00:00 +@@ -83,14 +83,8 @@ [features] default = [ "std", -- "valuable/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" +@@ -102,3 +96,4 @@ + "cfg(flaky_tests)", + "cfg(tracing_unstable)", + ] +