diff --git a/rspec-fix-metadata.diff b/rspec-fix-metadata.diff index dd67661..890a036 100644 --- a/rspec-fix-metadata.diff +++ b/rspec-fix-metadata.diff @@ -1,13 +1,20 @@ --- rspec-1.0.0/Cargo.toml 2021-02-06T15:09:51+00:00 -+++ rspec-1.0.0/Cargo.toml 2023-05-18T15:58:26.536674+00:00 -@@ -30,21 +30,13 @@ - [dependencies.derive_builder] - version = "0.9" ++++ rspec-1.0.0/Cargo.toml 2024-09-24T20:26:52.250675+00:00 +@@ -25,26 +25,18 @@ + version = "2.0" + + [dependencies.derive-new] +-version = "0.5" ++version = "0.6" + [dependencies.derive_builder] +-version = "0.9" +- -[dependencies.expectest] -version = "0.12" -optional = true -- ++version = "0.20" + [dependencies.rayon] version = "1.5" diff --git a/rust-rspec.spec b/rust-rspec.spec index 9c56198..e8d4fbf 100644 --- a/rust-rspec.spec +++ b/rust-rspec.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -15,9 +15,11 @@ Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove optional build-dependency on the obsolete clippy crate # * remove unused optional feature for expectest compatibility +# * bump derive-new dependency from 0.5 to 0.6 +# * bump derive_builder dependency from 0.9 to 0.20 Patch: rspec-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Write Rspec-like tests with stable rust.} @@ -51,7 +53,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires