From 3db1f4abeeac855816b70a1fbeca96ab5f0314f8 Mon Sep 17 00:00:00 2001
From: Maksym Yatsenko <myatsenko@mirantis.com>
Date: Tue, 17 Feb 2015 18:00:28 +0200
Subject: [PATCH] Add "cryptsetup" requirements to deb, rpm specs.

Partial-Bug: #1420849

Change-Id: Ie98057486ca6240a93e3c8ba196dce6e52cb12e0
---
 debian/control                  | 1 +
 rpm/SPECS/openstack-cinder.spec | 1 +
 2 files changed, 2 insertions(+)

diff --git a/debian/control b/debian/control
index c084f55c2..a16fba5c2 100644
--- a/debian/control
+++ b/debian/control
@@ -143,6 +143,7 @@ Depends:
  cinder-common (= ${binary:Version}),
  lvm2,
  tgt,
+ cryptsetup,
  ${misc:Depends},
  ${python:Depends}
 Breaks: cinder-common ( <= 2012.2~rc1~20120907.1154-0ubuntu1 )
diff --git a/rpm/SPECS/openstack-cinder.spec b/rpm/SPECS/openstack-cinder.spec
index 6c9e4754e..b9500ad6e 100644
--- a/rpm/SPECS/openstack-cinder.spec
+++ b/rpm/SPECS/openstack-cinder.spec
@@ -116,6 +116,7 @@ Requires:         python-taskflow >= 0.4
 
 Requires:         python-ceph
 #Requires:         iscsi-initiator-utils
+Requires:         cryptsetup
 
 %description -n   python-cinder
 OpenStack Volume (codename Cinder) provides services to manage and
-- 
2.45.2