diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-02-07 09:17:47 -0500 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-02-07 14:04:19 -0500 |
commit | 3cbf73225111b2fd04414f1fa0aea33ffedf10b2 (patch) | |
tree | c3d6bba9adcbd4acec68178b1d9962123d82edc9 /glusterfs.spec.in | |
parent | 3c86d946086fda97b38f1a28682840adacbbf800 (diff) |
packaging: python/python2(/python3) cleanup, again
mistake missed in the previous patches
see https://review.gluster.org/#/c/16486/ and
https://review.gluster.org/#/c/16428/
BUG: 1414902
Change-Id: Ie0839fa00794986f7f6a742dff70acd242e68735
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/16556
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Anoop C S <anoopcs@redhat.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index f8e528dd6c6..8641f196da8 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -601,9 +601,14 @@ This package provides the translators needed on any GlusterFS client. Summary: GlusterFS Events Group: Applications/File Requires: %{name}-server%{?_isa} = %{version}-%{release} -Requires: python2 python2-requests python-prettytable +Requires: python2 python-prettytable Requires: python2-gluster = %{version}-%{release} -%if ( 0%{?rhel} && 0%{?rhel} <= 6 ) +%if ( 0%{?rhel} ) +Requires: python-requests +%else +Requires: python2-requests +%endif +%if ( 0%{?rhel} && 0%{?rhel} < 7 ) Requires: python-argparse %endif %if ( 0%{?_with_systemd:1} ) |