From 8c39fc6148951f83f9444ec756a10c54fe3126b3 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: May 02 2018 10:42:10 +0000 Subject: Bump uuid to 0.6 Signed-off-by: Igor Gnatenko --- diff --git a/0001-deps-update-uuid-to-0.6.patch b/0001-deps-update-uuid-to-0.6.patch new file mode 100644 index 0000000..47ba527 --- /dev/null +++ b/0001-deps-update-uuid-to-0.6.patch @@ -0,0 +1,26 @@ +From 0d47857807d6091daa1e7b4748cc0f70708068cb Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Wed, 2 May 2018 11:56:35 +0200 +Subject: [PATCH] deps: update uuid to 0.6 + +Signed-off-by: Igor Gnatenko +--- + 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 + diff --git a/stratisd.spec b/stratisd.spec index 22cc05b..3e11c0a 100644 --- a/stratisd.spec +++ b/stratisd.spec @@ -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)