]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: drop python-argparse dependency
authorNathan Cutler <ncutler@suse.com>
Sun, 11 Oct 2015 08:18:33 +0000 (10:18 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 23 May 2016 21:13:41 +0000 (23:13 +0200)
This was only necessary for older (now unsupported) distro versions.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 6c42066d488d03142a56f92cff99d9c29d106214)

ceph.spec.in

index e9712931fa69cb726bbf7a1f439b83eac63ccebb..be8dcbaf562659e09a2e37bba185d319d7f28baf 100644 (file)
@@ -162,10 +162,6 @@ BuildRequires:     Cython
 %if 0%{?fedora} || 0%{?rhel} 
 BuildRequires:  boost-random
 %endif
-# python-argparse for distros with Python 2.6 or lower
-%if (0%{?rhel} && 0%{?rhel} <= 6)
-BuildRequires: python-argparse
-%endif
 # lttng and babeltrace for rbd-replay-prep
 %if %{with lttng}
 %if 0%{?fedora} || 0%{?rhel}
@@ -252,10 +248,6 @@ Requires:  python-requests
 %if 0%{?suse_version}
 Requires(pre): pwdutils
 %endif
-# python-argparse is only needed in distros with Python 2.6 or lower
-%if (0%{?rhel} && 0%{?rhel} <= 6)
-Requires:      python-argparse
-%endif
 %description -n ceph-common
 Common utilities to mount and interact with a ceph storage cluster.
 Comprised of files that are common to Ceph clients and servers.