diff --git a/gix-features-fix-metadata.diff b/gix-features-fix-metadata.diff index a1319ca..2e5d787 100644 --- a/gix-features-fix-metadata.diff +++ b/gix-features-fix-metadata.diff @@ -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 2023-09-13T19:52:57.671874+00:00 -@@ -78,10 +78,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 @@ ++++ gix-features-0.34.0/Cargo.toml 2023-09-14T18:07:58.290722+00:00 +@@ -158,14 +158,6 @@ "flate2?/rust_backend", "dep:thiserror", ] diff --git a/rust-gix-features.spec b/rust-gix-features.spec index 69c27e9..6c1cb6a 100644 --- a/rust-gix-features.spec +++ b/rust-gix-features.spec @@ -13,7 +13,6 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-features Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * Disable feature that is only required for building documentation # * Disable feature for compatibility with zlib-ng Patch: gix-features-fix-metadata.diff @@ -76,6 +75,18 @@ use the "crc32" feature of the "%{crate}" crate. %files -n %{name}+crc32-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}+fast-sha1-devel Summary: %{summary} BuildArch: noarch