Bump quickcheck to 1.0 and term to 0.7

epel10 imports/epel10/rust-difference-2.0.0-27.el10
Fabio Valentini 5 months ago
parent bd65dea7fb
commit 3a09744a80
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,5 +1,5 @@
--- difference-2.0.0/Cargo.toml 1970-01-01T00:00:00+00:00 --- 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 @@ @@ -21,21 +21,15 @@
categories = ["text-processing", "development-tools::testing"] categories = ["text-processing", "development-tools::testing"]
license = "MIT" license = "MIT"
@ -14,11 +14,11 @@
-optional = true -optional = true
[dev-dependencies.quickcheck] [dev-dependencies.quickcheck]
-version = "0.4" -version = "0.4"
+version = "0.9" +version = "1.0"
[dev-dependencies.term] [dev-dependencies.term]
-version = "0.2.7" -version = "0.2.7"
+version = "0.6" +version = "0.7"
[features] [features]
-bin = ["getopts"] -bin = ["getopts"]

@ -1,4 +1,4 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -13,9 +13,9 @@ License: MIT
URL: https://crates.io/crates/difference URL: https://crates.io/crates/difference
Source: %{crates_source} Source: %{crates_source}
# Manually created patch for downstream crate metadata changes # 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 # 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 # https://github.com/johannhof/difference.rs/pull/42
# * remove useless executable and related dependencies and features # * remove useless executable and related dependencies and features
Patch: difference-fix-metadata.diff Patch: difference-fix-metadata.diff
@ -23,7 +23,7 @@ Patch: difference-fix-metadata.diff
# https://github.com/johannhof/difference.rs/pull/41 # https://github.com/johannhof/difference.rs/pull/41
Patch: 0001-Fix-inclusive-range.patch Patch: 0001-Fix-inclusive-range.patch
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
A Rust text diffing and assertion library.} A Rust text diffing and assertion library.}
@ -58,7 +58,7 @@ use the "default" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

Loading…
Cancel
Save