Bump uuid to 0.6

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-05-02 12:42:10 +02:00
parent 0579ded2a9
commit 8c39fc6148
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C
2 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From 0d47857807d6091daa1e7b4748cc0f70708068cb Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenko@redhat.com>
Date: Wed, 2 May 2018 11:56:35 +0200
Subject: [PATCH] deps: update uuid to 0.6
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
---
Cargo.toml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Cargo.toml b/Cargo.toml
index 73f70b5..e91a391 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -26,7 +26,7 @@ error-chain = "0.11.0"
libudev = "0.2.0"
[dependencies.uuid]
-version = "0.5"
+version = "0.6"
features = ["serde", "v4"]
[dev-dependencies]
--
2.17.0

View File

@ -15,6 +15,8 @@ Summary: Daemon that manages block devices to create filesystems
License: MPLv2.0
URL: https://github.com/stratis-storage/stratisd
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/stratis-storage/stratisd/pull/916
Patch0001: 0001-deps-update-uuid-to-0.6.patch
ExclusiveArch: %{rust_arches}
@ -39,7 +41,7 @@ BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
BuildRequires: (crate(serde_json) >= 1.0.0 with crate(serde_json) < 2.0.0)
BuildRequires: (crate(tempdir) >= 0.3.5 with crate(tempdir) < 0.4.0)
BuildRequires: ((crate(uuid) >= 0.5.0 with crate(uuid) < 0.6.0) with crate(uuid/serde) with crate(uuid/v4))
BuildRequires: ((crate(uuid) >= 0.6.0 with crate(uuid) < 0.7.0) with crate(uuid/serde) with crate(uuid/v4))
%if %{with check}
# [dev-dependencies]
BuildRequires: (crate(loopdev) >= 0.2.0 with crate(loopdev) < 0.3.0)