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

[skip changelog]
epel9
blinxen 1 year ago
parent 3d76935503
commit e3fa49b019

@ -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"

@ -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

Loading…
Cancel
Save