From 3a09744a80302bf33cc554b3c98c308cf98cf5dc Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 19 Sep 2024 17:24:05 +0200 Subject: [PATCH] Bump quickcheck to 1.0 and term to 0.7 --- difference-fix-metadata.diff | 6 +++--- rust-difference.spec | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/difference-fix-metadata.diff b/difference-fix-metadata.diff index 275f4f1..b559281 100644 --- a/difference-fix-metadata.diff +++ b/difference-fix-metadata.diff @@ -1,5 +1,5 @@ --- difference-2.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ difference-2.0.0/Cargo.toml 2023-04-12T15:27:34.232085+00:00 ++++ difference-2.0.0/Cargo.toml 2024-09-19T15:22:31.402938+00:00 @@ -21,21 +21,15 @@ categories = ["text-processing", "development-tools::testing"] license = "MIT" @@ -14,11 +14,11 @@ -optional = true [dev-dependencies.quickcheck] -version = "0.4" -+version = "0.9" ++version = "1.0" [dev-dependencies.term] -version = "0.2.7" -+version = "0.6" ++version = "0.7" [features] -bin = ["getopts"] diff --git a/rust-difference.spec b/rust-difference.spec index e6dc135..330c8e8 100644 --- a/rust-difference.spec +++ b/rust-difference.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -13,9 +13,9 @@ License: MIT URL: https://crates.io/crates/difference Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * bump quickcheck dev-dependency from 0.4 to 0.9: +# * bump quickcheck dev-dependency from 0.4 to 1.0: # https://github.com/johannhof/difference.rs/pull/38 -# * bump term dev-dependency from 0.2 to 0.6: +# * bump term dev-dependency from 0.2 to 0.7: # https://github.com/johannhof/difference.rs/pull/42 # * remove useless executable and related dependencies and features Patch: difference-fix-metadata.diff @@ -23,7 +23,7 @@ Patch: difference-fix-metadata.diff # https://github.com/johannhof/difference.rs/pull/41 Patch: 0001-Fix-inclusive-range.patch -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A Rust text diffing and assertion library.} @@ -58,7 +58,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