From 3cbf73225111b2fd04414f1fa0aea33ffedf10b2 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 7 Feb 2017 09:17:47 -0500 Subject: 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 Reviewed-on: https://review.gluster.org/16556 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Anoop C S CentOS-regression: Gluster Build System Reviewed-by: Shyamsundar Ranganathan --- glusterfs.spec.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'glusterfs.spec.in') 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} ) -- cgit