From 9546eebc59a8664a2402e0af73a1637181c875d6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 27 Aug 2015 17:17:45 +0200 Subject: [PATCH] Fix dependency on consistent_hash for non-RHEL distros This seems to be referring to the PyPi package python-consistent_hash, which is named that way on SLE distributions. Partial-Bug: #1488627 Change-Id: I4174a938e3fde2119f71497e41d8c749b662d37e --- rpm/contrail/contrail.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rpm/contrail/contrail.spec b/rpm/contrail/contrail.spec index 2a4ee126..c41dd22d 100644 --- a/rpm/contrail/contrail.spec +++ b/rpm/contrail/contrail.spec @@ -189,7 +189,11 @@ Requires: python-gevent >= 1.0 %if 0%{?rhel} <= 6 Requires: python-gevent %endif -Requires: consistent_hash +%if 0%{?rhel} +Requires: consistent_hash +%else +Requires: python-consistent_hash +%endif %if 0%{?rhel} <= 6 Requires: python-importlib %endif