From 93f7db9b0bd68b04b2da6321bd1b6bde2a9edd72 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 29 Sep 2024 18:47:52 +0200 Subject: [PATCH] Bump proptest-derive dev-dependency from 0.3 to 0.5 --- bitmaps-fix-metadata.diff | 12 +++--------- rust-bitmaps.spec | 12 +++++------- 2 files changed, 8 insertions(+), 16 deletions(-) diff --git a/bitmaps-fix-metadata.diff b/bitmaps-fix-metadata.diff index c6d45b1..c8a9783 100644 --- a/bitmaps-fix-metadata.diff +++ b/bitmaps-fix-metadata.diff @@ -1,12 +1,6 @@ --- bitmaps-2.1.0/Cargo.toml 2020-03-26T13:33:13+00:00 -+++ bitmaps-2.1.0/Cargo.toml 2023-08-22T20:10:45.990608+00:00 -@@ -20,15 +20,15 @@ - documentation = "http://docs.rs/bitmaps" - readme = "./README.md" - categories = ["data-structures"] --license = "MPL-2.0+" -+license = "MPL-2.0" - repository = "https://github.com/bodil/bitmaps" ++++ bitmaps-2.1.0/Cargo.toml 2024-09-29T16:45:19.828452+00:00 +@@ -25,10 +25,10 @@ [dependencies.typenum] version = "1.10.0" [dev-dependencies.proptest] @@ -15,7 +9,7 @@ [dev-dependencies.proptest-derive] -version = "0.1.0" -+version = "0.3.0" ++version = "0.5.0" [features] default = ["std"] diff --git a/rust-bitmaps.spec b/rust-bitmaps.spec index 07e9b91..652ed4b 100644 --- a/rust-bitmaps.spec +++ b/rust-bitmaps.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} @@ -9,17 +9,15 @@ Version: 2.1.0 Release: %autorelease Summary: Fixed size boolean arrays -License: MPL-2.0 +License: MPL-2.0+ URL: https://crates.io/crates/bitmaps Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * fix invalid SPDX identifier in crate license: -# https://github.com/bodil/bitmaps/issues/24 # * bump proptest dev-dependency from 0.9 to 1.0 -# * bump proptest-derive dev-dependency from 0.1 to 0.3 +# * bump proptest-derive dev-dependency from 0.1 to 0.5 Patch: bitmaps-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Fixed size boolean arrays.} @@ -67,7 +65,7 @@ use the "std" 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