diff --git a/gix-packetline-fix-metadata.diff b/gix-packetline-fix-metadata.diff index f9961de..1dd9c7e 100644 --- a/gix-packetline-fix-metadata.diff +++ b/gix-packetline-fix-metadata.diff @@ -1,5 +1,5 @@ --- gix-packetline-0.16.6/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ gix-packetline-0.16.6/Cargo.toml 2023-09-13T19:32:47.281679+00:00 ++++ gix-packetline-0.16.6/Cargo.toml 2023-09-14T18:23:29.740059+00:00 @@ -20,7 +20,7 @@ "LICENSE-*", "CHANGELOG.md", @@ -9,14 +9,3 @@ license = "MIT OR Apache-2.0" repository = "https://github.com/Byron/gitoxide" -@@ -55,10 +55,6 @@ - version = "1.3.0" - features = ["std"] - default-features = false -- --[dependencies.document-features] --version = "0.2.0" --optional = true - - [dependencies.faster-hex] - version = "0.8.0" diff --git a/rust-gix-packetline.spec b/rust-gix-packetline.spec index f9c89b7..0b8b877 100644 --- a/rust-gix-packetline.spec +++ b/rust-gix-packetline.spec @@ -14,7 +14,6 @@ URL: https://crates.io/crates/gix-packetline Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * improve crate summary / description -# * drop unused optional dependency that is only useful for building docs Patch: gix-packetline-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 @@ -75,6 +74,18 @@ use the "blocking-io" feature of the "%{crate}" crate. %files -n %{name}+blocking-io-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}+futures-io-devel Summary: %{summary} BuildArch: noarch