From d46d91b4f451ebedaaeeeb44def7e88e6389336d Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jan 01 2018 12:22:12 +0000 Subject: Bump rand to 0.4 Signed-off-by: Igor Gnatenko --- diff --git a/extprim-1.4.0-fix-metadata.diff b/extprim-1.4.0-fix-metadata.diff new file mode 100644 index 0000000..4b53c66 --- /dev/null +++ b/extprim-1.4.0-fix-metadata.diff @@ -0,0 +1,11 @@ +--- extprim-1.4.0/Cargo.toml 1970-01-01T01:00:00+01:00 ++++ extprim-1.4.0/Cargo.toml 2018-01-01T13:21:56.932982+01:00 +@@ -31,7 +31,7 @@ + version = "0.1" + + [dependencies.rand] +-version = "0.3" ++version = "0.4" + optional = true + [dev-dependencies.extprim_literals] + version = "2.0" diff --git a/rust-extprim.spec b/rust-extprim.spec index 290ee9a..e9802dd 100644 --- a/rust-extprim.spec +++ b/rust-extprim.spec @@ -7,19 +7,22 @@ Name: rust-%{crate} Version: 1.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Extra primitive types (u128, i128) License: MIT or ASL 2.0 URL: https://crates.io/crates/extprim Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate +# Initial patched metadata +# * Bump rand to 0.4, https://github.com/kennytm/extprim/pull/13 +Patch0: extprim-1.4.0-fix-metadata.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging # [dependencies] BuildRequires: (crate(num-traits) >= 0.1.0 with crate(num-traits) < 0.2.0) -BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0) +BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0) BuildRequires: ((crate(serde) >= 1.0.0 with crate(serde) < 2.0.0) with crate(serde/derive)) # [build-dependencies] BuildRequires: (crate(rustc_version) >= 0.2.0 with crate(rustc_version) < 0.3.0) @@ -62,6 +65,9 @@ which use %{crate} from crates.io. %{cargo_registry}/%{crate}-%{version}/ %changelog +* Mon Jan 01 2018 Igor Gnatenko - 1.4.0-2 +- Bump rand to 0.4 + * Fri Nov 10 2017 Igor Gnatenko - 1.4.0-1 - Update to 1.4.0