|
|
|
@ -1,25 +1,25 @@
|
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate tracing
|
|
|
|
|
|
|
|
|
|
Name: rust-tracing
|
|
|
|
|
Version: 0.1.38
|
|
|
|
|
Version: 0.1.39
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Application-level tracing for Rust
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/tracing
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
|
Patch: tracing-fix-metadata-auto.diff
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
|
|
|
|
|
# * drop unused, benchmark-only criterion dev-dependency
|
|
|
|
|
# * drop unstable "valuable" feature
|
|
|
|
|
Patch: tracing-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Application-level tracing for Rust.}
|
|
|
|
@ -270,7 +270,7 @@ use the "tracing-attributes" 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
|
|
|
|
@ -284,8 +284,7 @@ use the "tracing-attributes" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
%check
|
|
|
|
|
# * integration tests can only be run in-tree,
|
|
|
|
|
# as they import the unpublished tracing-mock crate
|
|
|
|
|
# * integration tests can only be run in-tree
|
|
|
|
|
%cargo_test -- --lib
|
|
|
|
|
%cargo_test -- --doc
|
|
|
|
|
%endif
|
|
|
|
|