From 9b751055ec9e5e17155d204bda059849e42192b2 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Nov 14 2016 02:54:07 +0000 Subject: Use python-krbV in EPEL rpkg is moving to Python 3 compatiblity and now is using python-gssapi to detect whether there is valid tickets in credential ccache. However, python-gssapi is still not available in EPEL for RHEL. So, packages for RHEL has to use old python-krbV for a while. Request of making python-gssapi available in EPEL is created. Once it's done, this change can be reverted. --- diff --git a/rpkg.spec b/rpkg.spec index 43fea5b..ec39c7e 100644 --- a/rpkg.spec +++ b/rpkg.spec @@ -50,6 +50,12 @@ Requires: python-six >= 1.9.0 Requires: python-argparse %endif +%if 0%{?rhel} +Requires: python-krbV +%else +Requires: python-gssapi +%endif + BuildRequires: python-six >= 1.9.0 %description -n pyrpkg