Enable document-features feature as the required dependency is now packaged

[skip changelog]
epel9 imports/e9/rust-gix-trace-0.1.3-2.el9
blinxen 1 year ago
parent 0bd4cf4339
commit e73873c66d

@ -1,13 +0,0 @@
--- gix-trace-0.1.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ gix-trace-0.1.3/Cargo.toml 2023-07-27T19:50:44.405488+00:00
@@ -31,10 +31,6 @@
test = false
doctest = false
-[dependencies.document-features]
-version = "0.2.0"
-optional = true
-
[dependencies.tracing-core]
version = "0.1.31"
optional = true

@ -12,9 +12,6 @@ Summary: Minimal tracing support for gitoxide that can be turned off to z
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-trace
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * Documentation feature is not needed for fedora
Patch: gix-trace-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -51,6 +48,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+document-features-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+document-features-devel %{_description}
This package contains library source intended for building other packages which
use the "document-features" feature of the "%{crate}" crate.
%files -n %{name}+document-features-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tracing-devel
Summary: %{summary}
BuildArch: noarch

Loading…
Cancel
Save