diff --git a/gix-trace-fix-metadata.diff b/gix-trace-fix-metadata.diff deleted file mode 100644 index f1f6425..0000000 --- a/gix-trace-fix-metadata.diff +++ /dev/null @@ -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 diff --git a/rust-gix-trace.spec b/rust-gix-trace.spec index ed78e27..90b6407 100644 --- a/rust-gix-trace.spec +++ b/rust-gix-trace.spec @@ -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