diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2017-02-07 09:29:15 -0500 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-02-07 14:04:25 -0500 |
commit | bcef8e60a186bc69673aa86e8065f9252b71563c (patch) | |
tree | 1b64c8546ae1c2649e43c6f5e7437c93facc4023 /glusterfs.spec.in | |
parent | c13a39e6c425622221226e5a3c49aafbf430a07d (diff) |
packaging: python/python2(/python3) cleanup, again
mistake missed in the previous patches
see https://review.gluster.org/16487 and
https://review.gluster.org/16446
BUG: 1415226
Change-Id: I3d1b04d1107a651a4ee0b816ccc04f8bff13917c
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: https://review.gluster.org/16557
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
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 b6643fa5ee6..443658affde 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} ) |