summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-06-24 15:00:59 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-06-28 11:56:59 -0700
commit39209965366f9bbc1d485532496fc265874c7527 (patch)
tree1f39b79632a344db38a0ef4ea127ae2d85bf6d9c /glusterfs.spec.in
parentfc1ae37ea4c353286f9a6f3d3e95041feee6ac7d (diff)
glusterd/snapshot: verify for lvm commands
On non-Linux platforms we need to verify the run time availability of LVM specific commands and fail accordingly with a message. Change-Id: Ie1e3870648f01ee129e390e2240c66e0c6249b90 BUG: 1061685 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8165 Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Sachin Pandit <spandit@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index a9061ced62a..068df0eeff5 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -402,8 +402,11 @@ Group: Development/Tools
Requires: %{name} = %{version}-%{release}
Requires: %{name}-fuse = %{version}-%{release}
Requires: %{name}-server = %{version}-%{release}
-Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng lvm2
-Requires: python attr dbench file git libacl-devel mock net-tools nfs-utils xfsprogs yajl
+## thin provisioning support
+Requires: lvm2 >= 2.02.89
+Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng
+Requires: python attr dbench file git libacl-devel mock net-tools
+Requires: nfs-utils xfsprogs yajl
%description regression-tests
The Gluster Test Framework, is a suite of scripts used for
@@ -449,6 +452,8 @@ Requires: %{name} = %{version}-%{release}
Requires: %{name}-cli = %{version}-%{release}
Requires: %{name}-libs = %{version}-%{release}
Requires: %{name}-fuse = %{version}-%{release}
+# Runtime necessity for snapshot
+Requires: lvm2
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 )
Requires: rpcbind
%else