Bump to proptest 1.0 and proptest-derive 0.3

epel9 imports/e9/rust-bitmaps-2.1.0-9.el9
Fabio Valentini 2 years ago
parent 5caf1638a9
commit 897d908ad9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,15 +1,15 @@
--- bitmaps-2.1.0/Cargo.toml 2020-03-26T13:33:13+00:00 --- bitmaps-2.1.0/Cargo.toml 2020-03-26T13:33:13+00:00
+++ bitmaps-2.1.0/Cargo.toml 2020-09-25T09:37:15.549142+00:00 +++ bitmaps-2.1.0/Cargo.toml 2022-12-20T20:41:13.080777+00:00
@@ -25,10 +25,10 @@ @@ -25,10 +25,10 @@
[dependencies.typenum] [dependencies.typenum]
version = "1.10.0" version = "1.10.0"
[dev-dependencies.proptest] [dev-dependencies.proptest]
-version = "0.9.1" -version = "0.9.1"
+version = "0.10" +version = "1.0.0"
[dev-dependencies.proptest-derive] [dev-dependencies.proptest-derive]
-version = "0.1.0" -version = "0.1.0"
+version = "0.2" +version = "0.3.0"
[features] [features]
default = ["std"] default = ["std"]

@ -1,27 +1,23 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 23
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate bitmaps %global crate bitmaps
Name: rust-%{crate} Name: rust-bitmaps
Version: 2.1.0 Version: 2.1.0
Release: %autorelease Release: %autorelease
Summary: Fixed size boolean arrays Summary: Fixed size boolean arrays
# Upstream license specification: MPL-2.0+ License: MPL-2.0+
License: MPLv2.0
URL: https://crates.io/crates/bitmaps URL: https://crates.io/crates/bitmaps
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata # Manually created patch for downstream crate metadata changes
Patch0: bitmaps-fix-metadata.diff # * bump proptest dev-dependency from 0.9 to 1.0
# * bump proptest-derive dev-dependency from 0.1 to 0.3
Patch: bitmaps-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Fixed size boolean arrays.} Fixed size boolean arrays.}
@ -34,13 +30,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENCE.md %license %{crate_instdir}/LICENCE.md
%doc README.md CHANGELOG.md %doc %{crate_instdir}/CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CODE_OF_CONDUCT.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -48,11 +46,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -60,11 +58,11 @@ BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

Loading…
Cancel
Save