From 783720acc625cc40251f27685ac4caec38060ae9 Mon Sep 17 00:00:00 2001 From: Aravinda VK Date: Thu, 28 Dec 2017 14:04:50 +0530 Subject: eventsapi: JWT signing without external dependency Added support for JWT signing without using python-jwt since it is not available in all the distributions. > Reviewed on: https://review.gluster.org/19102 BUG: 1529539 Change-Id: I95699055442fbf9da15249f5defe8a8b287010f1 Signed-off-by: Aravinda VK (cherry picked from commit 33c39e5dce3bc941d8e26c98d91f8ddab9505b73) --- glusterfs.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glusterfs.spec.in') diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 8b4fa349e76..f68e38fffe3 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -626,9 +626,9 @@ Requires: %{name}-server%{?_isa} = %{version}-%{release} Requires: python2 python-prettytable Requires: python2-gluster = %{version}-%{release} %if ( 0%{?rhel} ) -Requires: python-requests python-jwt +Requires: python-requests %else -Requires: python2-requests python2-jwt +Requires: python2-requests %endif %if ( 0%{?rhel} && 0%{?rhel} < 7 ) Requires: python-argparse -- cgit