From: Thomas Goirand <thomas@goirand.fr>
Date: Thu, 22 Nov 2012 17:26:45 +0000 (+0000)
Subject: Added missing (conditional) lsb-base depends.
X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=b42eba1df1a192779d64be122a937aefe9bdf2ff;p=openstack-build%2Fcinder-build.git

Added missing (conditional) lsb-base depends.
---

diff --git a/debian/control b/debian/control
index 695c609d9..a2ed3dc89 100644
--- a/debian/control
+++ b/debian/control
@@ -99,7 +99,7 @@ Description: Openstack block storage as a service - common files
 Package: cinder-api
 Architecture: all
 Pre-Depends: dpkg (>= 1.15.6~)
-Depends: debconf, cinder-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}, python-keystoneclient
+Depends: ${ostack-lsb-base}, debconf, cinder-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}, python-keystoneclient
 Description: Openstack block storage as a service - API server
  Cinder is a block storage as service system for the Openstack cloud computing
  software suite. It is a direct replacement for nova-volume as a separate
@@ -112,7 +112,7 @@ Description: Openstack block storage as a service - API server
 Package: cinder-volume
 Architecture: all
 Pre-Depends: dpkg (>= 1.15.6~)
-Depends: cinder-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
+Depends: ${ostack-lsb-base}, cinder-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
 Description: Openstack block storage as a service - Volume server
  Cinder is a block storage as service system for the Openstack cloud computing
  software suite. It is a direct replacement for nova-volume as a separate
@@ -125,7 +125,7 @@ Description: Openstack block storage as a service - Volume server
 Package: cinder-scheduler
 Architecture: all
 Pre-Depends: dpkg (>= 1.15.6~)
-Depends: cinder-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
+Depends: ${ostack-lsb-base}, cinder-common (= ${binary:Version}), ${python:Depends}, ${misc:Depends}
 Description: Openstack block storage as a service - Scheduler server
  Cinder is a block storage as service system for the Openstack cloud computing
  software suite. It is a direct replacement for nova-volume as a separate
diff --git a/debian/debian_control_vars b/debian/debian_control_vars
new file mode 100644
index 000000000..e736811af
--- /dev/null
+++ b/debian/debian_control_vars
@@ -0,0 +1 @@
+ostack-lsb-base= lsb-base  (>= 3.0-6)
diff --git a/debian/ubuntu_control_vars b/debian/ubuntu_control_vars
new file mode 100644
index 000000000..e69de29bb