|
|
@ -1,21 +1,21 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate tracing-core
|
|
|
|
%global crate tracing-core
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-tracing-core
|
|
|
|
Name: rust-tracing-core
|
|
|
|
Version: 0.1.31
|
|
|
|
Version: 0.1.32
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Core primitives for application-level tracing
|
|
|
|
Summary: Core primitives for application-level tracing
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/tracing-core
|
|
|
|
URL: https://crates.io/crates/tracing-core
|
|
|
|
Source: %{crates_source}
|
|
|
|
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
|
|
|
|
Patch: tracing-core-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Core primitives for application-level tracing.}
|
|
|
|
Core primitives for application-level tracing.}
|
|
|
@ -75,7 +75,7 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
@ -89,7 +89,7 @@ use the "std" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%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
|
|
|
|
%cargo_test -- -- --skip field::test::value_sets_with_fields_from_other_callsites_are_empty
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|