diff --git a/rust-serial_test.spec b/rust-serial_test.spec index 01aca09..621ab9c 100644 --- a/rust-serial_test.spec +++ b/rust-serial_test.spec @@ -12,6 +12,9 @@ Summary: Allows for the creation of serialised Rust tests License: MIT URL: https://crates.io/crates/serial_test Source: %{crates_source} +# Manually created patch for downstream crate metadata changes +# * drop doc-specific dependencies (only used when building docs on docs.rs) +Patch: serial_test-fix-metadata.diff BuildRequires: rust-packaging >= 21 @@ -58,30 +61,6 @@ use the "async" feature of the "%{crate}" crate. %files -n %{name}+async-devel %ghost %{crate_instdir}/Cargo.toml -%package -n %{name}+docsrs-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+docsrs-devel %{_description} - -This package contains library source intended for building other packages which -use the "docsrs" feature of the "%{crate}" crate. - -%files -n %{name}+docsrs-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}+file_locks-devel Summary: %{summary} BuildArch: noarch diff --git a/serial_test-fix-metadata.diff b/serial_test-fix-metadata.diff index 293068f..132e13c 100644 --- a/serial_test-fix-metadata.diff +++ b/serial_test-fix-metadata.diff @@ -1,5 +1,5 @@ ---- serial_test-0.9.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ serial_test-0.9.0/Cargo.toml 2022-11-28T14:00:56.711227+00:00 +--- serial_test-1.0.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ serial_test-1.0.0/Cargo.toml 2023-02-21T19:38:47.185565+00:00 @@ -34,10 +34,6 @@ [dependencies.dashmap] @@ -11,7 +11,7 @@ [dependencies.fslock] version = "0.2" -@@ -78,6 +74,5 @@ +@@ -81,6 +77,5 @@ "logging", "async", ]