Bump rand to 0.4

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 7 years ago
parent 0917c1dcc2
commit fe179c57fc

@ -6,19 +6,22 @@
Name: rust-%{crate}
Version: 0.3.24
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Generic serialization/deserialization support
License: MIT or ASL 2.0
URL: https://crates.io/crates/rustc-serialize
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
# Initial patched metadata
# * Bump rand to 0.4
Patch0: rustc-serialize-0.3.24-fix-metadata.diff
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
%endif
%description
@ -58,6 +61,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.24-3
- Bump rand to 0.4
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.24-2
- Exclude unneeded files

@ -0,0 +1,8 @@
--- rustc-serialize-0.3.24/Cargo.toml 2017-04-21T16:10:04+02:00
+++ rustc-serialize-0.3.24/Cargo.toml 2018-01-01T12:18:33.356847+01:00
@@ -15,4 +15,4 @@
"""
[dev-dependencies]
-rand = "0.3"
+rand = "0.4"
Loading…
Cancel
Save