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

[skip changelog]
epel9
blinxen 1 year ago
parent d1e48efa77
commit f9f345a41e

@ -1,17 +1,6 @@
--- gix-features-0.34.0/Cargo.toml 1970-01-01T00:00:01+00:00 --- gix-features-0.34.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ gix-features-0.34.0/Cargo.toml 2023-09-13T19:52:57.671874+00:00 +++ gix-features-0.34.0/Cargo.toml 2023-09-14T18:07:58.290722+00:00
@@ -78,10 +78,6 @@ @@ -158,14 +158,6 @@
version = "0.5.0"
optional = true
-[dependencies.document-features]
-version = "0.2.0"
-optional = true
-
[dependencies.flate2]
version = "1.0.25"
optional = true
@@ -158,14 +154,6 @@
"flate2?/rust_backend", "flate2?/rust_backend",
"dep:thiserror", "dep:thiserror",
] ]

@ -13,7 +13,6 @@ License: MIT OR Apache-2.0
URL: https://crates.io/crates/gix-features URL: https://crates.io/crates/gix-features
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # Manually created patch for downstream crate metadata changes
# * Disable feature that is only required for building documentation
# * Disable feature for compatibility with zlib-ng # * Disable feature for compatibility with zlib-ng
Patch: gix-features-fix-metadata.diff Patch: gix-features-fix-metadata.diff
@ -76,6 +75,18 @@ use the "crc32" feature of the "%{crate}" crate.
%files -n %{name}+crc32-devel %files -n %{name}+crc32-devel
%ghost %{crate_instdir}/Cargo.toml %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}+fast-sha1-devel %package -n %{name}+fast-sha1-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch

Loading…
Cancel
Save