diff --git a/python-kombu.spec b/python-kombu.spec index 0d71eb1..9e23b0a 100644 --- a/python-kombu.spec +++ b/python-kombu.spec @@ -6,6 +6,10 @@ %bcond_without tests %endif +%if %{defined el6} || %{defined el7} +%bcond_without python2 +%endif + %global srcname kombu Name: python-%{srcname}