Bump rayon to 1

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-20 08:09:43 +01:00
parent 86639521df
commit b89fa1fa14
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 15 additions and 4 deletions

View File

@ -7,7 +7,7 @@
Name: rust-%{crate}
Version: 7.0.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Utility that allows you to count code, quickly
License: MIT or ASL 2.0
@ -16,6 +16,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
# Initial patched metadata
# * Bump handlebars to 0.31, https://github.com/Aaronepower/tokei/pull/187
# * Bump ignore to 0.4, https://github.com/Aaronepower/tokei/pull/188
# * Bump rayon to 1, https://github.com/Aaronepower/tokei/pull/192
Patch0: tokei-7.0.1-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -28,7 +29,7 @@ BuildRequires: (crate(env_logger) >= 0.5.0 with crate(env_logger) < 0.6.0)
BuildRequires: (crate(hex) >= 0.3.0 with crate(hex) < 0.4.0)
BuildRequires: (crate(ignore) >= 0.4.0 with crate(ignore) < 0.5.0)
BuildRequires: (crate(log) >= 0.4.0 with crate(log) < 0.5.0)
BuildRequires: (crate(rayon) >= 0.9.0 with crate(rayon) < 0.10.0)
BuildRequires: (crate(rayon) >= 1.0.0 with crate(rayon) < 2.0.0)
BuildRequires: (crate(regex) >= 0.2.0 with crate(regex) < 0.3.0)
BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_cbor) >= 0.8.0 with crate(serde_cbor) < 0.9.0)
@ -90,6 +91,9 @@ which use %{crate} from crates.io.
%{cargo_registry}/%{crate}-%{version}/
%changelog
* Tue Feb 20 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-5
- Bump rayon to 1
* Mon Feb 12 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 7.0.1-4
- Bump ignore to 0.4

View File

@ -1,6 +1,6 @@
--- tokei-7.0.1/Cargo.toml 1970-01-01T01:00:00+01:00
+++ tokei-7.0.1/Cargo.toml 2018-02-12T17:02:11.306564+01:00
@@ -41,7 +41,7 @@
+++ tokei-7.0.1/Cargo.toml 2018-02-20T08:10:18.530638+01:00
@@ -41,13 +41,13 @@
optional = true
[dependencies.ignore]
@ -9,6 +9,13 @@
[dependencies.log]
version = "0.4"
[dependencies.rayon]
-version = "0.9"
+version = "1"
[dependencies.regex]
version = "0.2"
@@ -81,10 +81,10 @@
[dev-dependencies.tempdir]
version = "0.3"