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} Name: rust-%{crate}
Version: 0.3.24 Version: 0.3.24
Release: 2%{?dist} Release: 3%{?dist}
Summary: Generic serialization/deserialization support Summary: Generic serialization/deserialization support
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/rustc-serialize URL: https://crates.io/crates/rustc-serialize
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate 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} ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if %{with check} %if %{with check}
# [dev-dependencies] # [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 %endif
%description %description
@ -58,6 +61,9 @@ which use %{crate} from crates.io.
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml %exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
%changelog %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 * Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.24-2
- Exclude unneeded files - 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