diff --git a/.gitignore b/.gitignore index 11e1a86..4a84701 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ /tracing-core-0.1.29.crate /tracing-core-0.1.30.crate /tracing-core-0.1.31.crate +/tracing-core-0.1.32.crate diff --git a/rust-tracing-core.spec b/rust-tracing-core.spec index bca2213..d1206b4 100644 --- a/rust-tracing-core.spec +++ b/rust-tracing-core.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate tracing-core Name: rust-tracing-core -Version: 0.1.31 +Version: 0.1.32 Release: %autorelease Summary: Core primitives for application-level tracing License: MIT URL: https://crates.io/crates/tracing-core Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: tracing-core-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Core primitives for application-level tracing.} @@ -75,7 +75,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires @@ -89,7 +89,7 @@ use the "std" feature of the "%{crate}" crate. %if %{with check} %check -# skip test that fails since Rust 1.52.1 but is not reproducible upstream +# * 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 %endif diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..747db5e --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +skip = ["field::test::value_sets_with_fields_from_other_callsites_are_empty"] +comments = ["skip a test that fails since Rust 1.52.1 but is not reproducible upstream"] diff --git a/sources b/sources index e480d66..d73e3f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tracing-core-0.1.31.crate) = 66fcd0b4f32de3816b1dcbeda1af26fae0a79d088894637984dc6a0ca65b609f5f166cea376601f6a75f8e3a281da6d4450dc796aa0a7177ad615330237e2bed +SHA512 (tracing-core-0.1.32.crate) = 164f79cacfcca533a53b7dbbdc2015aaf851a16e00c72fbc4e5f515b6a6dedfa464e964810009b54f08cbcdc5a314e50245ac7b1b01a71fce4c63db135bf5521 diff --git a/tracing-core-fix-metadata-auto.diff b/tracing-core-fix-metadata-auto.diff index dce38d6..b39dd93 100644 --- a/tracing-core-fix-metadata-auto.diff +++ b/tracing-core-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- tracing-core-0.1.31/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ tracing-core-0.1.31/Cargo.toml 2023-05-17T13:15:51.551556+00:00 -@@ -53,14 +53,8 @@ +--- 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 @@ [features] default = [ "std", @@ -15,3 +15,4 @@ - [badges.maintenance] status = "actively-developed" ++