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

[skip changelog]
epel9 imports/e9/rust-gix-date-0.8.0-2.el9
blinxen 1 year ago
parent 334a7f9f30
commit b458eac216

@ -1,13 +0,0 @@
--- gix-date-0.8.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ gix-date-0.8.0/Cargo.toml 2023-09-13T19:28:14.900421+00:00
@@ -40,10 +40,6 @@
features = ["std"]
default-features = false
-[dependencies.document-features]
-version = "0.2.0"
-optional = true
-
[dependencies.itoa]
version = "1.0.1"

@ -12,9 +12,6 @@ Summary: Parse dates the way git does
License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-date
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * Disable feature that is only required for building documentation
Patch: gix-date-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -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