[fedmsg] Added deps on python-argparse for rhel6.

Ralph Bean ralph at fedoraproject.org
Tue Jul 10 20:03:32 UTC 2012


commit 3d44b77f6709794462abba2779ccabc989ddfe77
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue Jul 10 16:03:21 2012 -0400

    Added deps on python-argparse for rhel6.

 fedmsg.spec |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/fedmsg.spec b/fedmsg.spec
index 3ddf807..8084a63 100644
--- a/fedmsg.spec
+++ b/fedmsg.spec
@@ -5,7 +5,7 @@
 
 Name:           fedmsg
 Version:        0.2.2
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Tools for Fedora Infrastructure real-time messaging
 Group:          Applications/Internet
 License:        LGPLv2+
@@ -41,6 +41,11 @@ Requires:       python-m2ext
 # This is imported in moksha.lib.helpers and is a *temporary* hard-dep
 Requires:  orbited
 
+%if %{?rhel}%{!?rhel:0} <= 6
+BuildRequires:  python-argparse
+Requires:       python-argparse
+%endif
+
 %description
 Python API used around Fedora Infrastructure to send and receive messages with
 zeromq.  Includes some CLI tools.
@@ -158,6 +163,9 @@ fi
 
 
 %changelog
+* Tue Jul 10 2012 Ralph Bean <rbean at redhat.com> - 0.2.2-3
+- Added deps on python-argparse for py < 2.7 (rhel6)
+
 * Sat Jul 07 2012 Ralph Bean <rbean at redhat.com> - 0.2.2-2
 - Added deps on m2crypto and python-m2ext
 


More information about the scm-commits mailing list