[python-cliff/el6] Require python-argparse on epel.

Ralph Bean ralph at fedoraproject.org
Fri Jul 6 15:09:07 UTC 2012


commit 701ed141a0ffe9a061ebbc679bb7c725213175fa
Author: Ralph Bean <rbean at redhat.com>
Date:   Fri Jul 6 11:08:58 2012 -0400

    Require python-argparse on epel.

 python-cliff.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python-cliff.spec b/python-cliff.spec
index 1f91356..4799c10 100644
--- a/python-cliff.spec
+++ b/python-cliff.spec
@@ -11,7 +11,7 @@
 
 Name:             python-cliff
 Version:          1.0
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          Command Line Interface Formulation Framework
 
 Group:            Development/Libraries
@@ -31,6 +31,11 @@ Requires:         python-prettytable
 Requires:         python-cmd2
 Requires:         python-tablib
 
+%if %{?rhel}%{!?rhel:0} >= 6
+BuildRequires:    python-argparse
+Requires:         python-argparse
+%endif
+
 
 %if 0%{?with_python3}
 BuildRequires:    python3-devel
@@ -120,6 +125,9 @@ popd
 
 
 %changelog
+* Fri Jul 06 2012 Ralph Bean <rbean at redhat.com> - 1.0-3
+- Require python-argparse on epel.
+
 * Thu Jul 05 2012 Ralph Bean <rbean at redhat.com> - 1.0-2
 - Manually disable python3 support until python3-prettytable is available.
 


More information about the scm-commits mailing list