From: Nathan Cutler Date: Fri, 15 May 2015 19:43:34 +0000 (+0200) Subject: ceph.spec.in: tweak ceph-common for SUSE/openSUSE X-Git-Tag: v9.0.1~7^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4686%2Fhead;p=ceph.git ceph.spec.in: tweak ceph-common for SUSE/openSUSE ceph-common needs python-argparse in SUSE/openSUSE and needs redhat-lsb-core only in RHEL/CentOS/Fedora. http://tracker.ceph.com/issues/11638 Fixes: #11638 Signed-off-by: Nathan Cutler --- diff --git a/ceph.spec.in b/ceph.spec.in index a4fc349f2f05..51e65146c9e3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -144,7 +144,12 @@ Requires: python-rados = %{epoch}:%{version}-%{release} Requires: python-rbd = %{epoch}:%{version}-%{release} Requires: python-cephfs = %{epoch}:%{version}-%{release} Requires: python-requests -Requires: redhat-lsb-core +%if 0%{defined suse_version} +Requires: python-argparse +%endif +%if 0%{?rhel} || 0%{?fedora} +Requires: redhat-lsb-core +%endif %description -n ceph-common Common utilities to mount and interact with a ceph storage cluster.