diff options
-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} ) |