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

[skip changelog]
epel9
blinxen 1 year ago
parent c2e3a6bea9
commit 5c72692725

@ -1,13 +0,0 @@
--- gix-hash-0.13.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ gix-hash-0.13.0/Cargo.toml 2023-09-13T19:16:43.846096+00:00
@@ -36,10 +36,6 @@
test = false
doctest = false
-[dependencies.document-features]
-version = "0.2.0"
-optional = true
-
[dependencies.faster-hex]
version = "0.8.0"

@ -12,9 +12,6 @@ Summary: Borrowed and owned git hash digests used to identify git objects
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-hash
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * Disable feature that is only required for building documentation
Patch: gix-hash-fix-metadata.diff
BuildRequires: rust-packaging >= 21
@ -50,6 +47,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}+serde-devel
Summary: %{summary}
BuildArch: noarch

Loading…
Cancel
Save