diff --git a/gix-hash-fix-metadata.diff b/gix-hash-fix-metadata.diff deleted file mode 100644 index 0213a05..0000000 --- a/gix-hash-fix-metadata.diff +++ /dev/null @@ -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" - diff --git a/rust-gix-hash.spec b/rust-gix-hash.spec index 13859da..97a5755 100644 --- a/rust-gix-hash.spec +++ b/rust-gix-hash.spec @@ -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