From 56e64761d0526b2c658f3d589189e90f47eca591 Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Feb 04 2014 02:13:50 +0000 Subject: fix conditional dependency py26 (rhel6) needs explicit python-argparse, it's part of standard library since py27 (rhel7) It's not critical, python-2.7 rpm has virtual provide, but it's more correct. --- diff --git a/python-cliff.spec b/python-cliff.spec index f9b0b8d..9b74f1a 100644 --- a/python-cliff.spec +++ b/python-cliff.spec @@ -24,7 +24,7 @@ Requires: python-setuptools Requires: python-prettytable Requires: python-cmd2 >= 0.6.7 -%if %{?rhel}%{!?rhel:0} >= 6 +%if %{?rhel}%{!?rhel:0} == 6 BuildRequires: python-argparse Requires: python-argparse %endif