Bump dependencies to latest versions and drop unused / obsolete features

epel9
Fabio Valentini 4 years ago
parent b77445fa0a
commit d3fb54bb16
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,4 +0,0 @@
[DEFAULT]
unwanted-features =
pool
refpool

@ -1,24 +1,45 @@
--- im-rc-15.0.0/Cargo.toml 2020-05-15T19:00:18+00:00
+++ im-rc-15.0.0/Cargo.toml 2020-09-25T09:43:04.988395+00:00
@@ -37,7 +37,7 @@
+++ im-rc-15.0.0/Cargo.toml 2021-08-04T16:11:40.028148+00:00
@@ -29,33 +29,18 @@
[lib]
path = "./src/lib.rs"
-[dependencies.arbitrary]
-version = "0.4"
-optional = true
[dependencies.bitmaps]
version = "2"
[dependencies.proptest]
-[dependencies.proptest]
-version = "0.9"
+version = "0.10"
optional = true
-optional = true
-
-[dependencies.quickcheck]
-version = "0.9"
-optional = true
-
[dependencies.rand_core]
-version = "0.5.1"
+version = "0.6.3"
[dependencies.quickcheck]
@@ -74,10 +74,10 @@
version = "0.6"
[dependencies.rand_xoshiro]
-version = "0.4"
+version = "0.6"
[dev-dependencies.proptest]
-version = "0.9"
+version = "0.10"
[dependencies.rayon]
version = "1"
-optional = true
-
-[dependencies.refpool]
-version = "0.4"
optional = true
[dev-dependencies.proptest-derive]
-version = "0.1"
+version = "0.2"
[dependencies.serde]
@@ -96,6 +81,5 @@
[dev-dependencies.rand]
version = "0.7"
[features]
debug = []
-pool = ["refpool", "sized-chunks/refpool"]
[badges.travis-ci]
repository = "bodil/im-rs"

@ -1,5 +1,5 @@
# Generated by rust2rpm 13
# * metrohash is not packaged
# Generated by rust2rpm 18
# * dev-dependencies are outdated
%bcond_with check
%global debug_package %{nil}
@ -15,6 +15,10 @@ License: MPLv2.0
URL: https://crates.io/crates/im-rc
Source: %{crates_source}
# Initial patched metadata
# * bump rand_core from 0.5.1 to 0.6.3
# * bump rand_xoshiro from 0.4 to 0.6
# * drop unused optional features with outdated or missing dependencies:
# arbitrary, proptest, quickcheck, pool/refpool
Patch0: im-rc-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -55,18 +59,6 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+arbitrary-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+arbitrary-devel %{_description}
This package contains library source intended for building other packages
which use "arbitrary" feature of "%{crate}" crate.
%files -n %{name}+arbitrary-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+debug-devel
Summary: %{summary}
BuildArch: noarch
@ -79,30 +71,6 @@ which use "debug" feature of "%{crate}" crate.
%files -n %{name}+debug-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+proptest-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+proptest-devel %{_description}
This package contains library source intended for building other packages
which use "proptest" feature of "%{crate}" crate.
%files -n %{name}+proptest-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+quickcheck-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+quickcheck-devel %{_description}
This package contains library source intended for building other packages
which use "quickcheck" feature of "%{crate}" crate.
%files -n %{name}+quickcheck-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+rayon-devel
Summary: %{summary}
BuildArch: noarch

Loading…
Cancel
Save