[glacier-cli] Update glacier-cli to 0-6.20131113gite8a2536

Miroslav Suchý msuchy at fedoraproject.org
Tue Nov 19 14:48:22 UTC 2013


commit 10e9ffa2749eb66056c78a904c4b9d799b0edced
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Tue Nov 19 15:48:46 2013 +0100

    Update glacier-cli to 0-6.20131113gite8a2536

 glacier-cli.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/glacier-cli.spec b/glacier-cli.spec
index f6b4a64..a3a7f64 100644
--- a/glacier-cli.spec
+++ b/glacier-cli.spec
@@ -2,7 +2,7 @@
 
 Name:		glacier-cli
 Version:	0
-Release:	5.20131113git%{githash}%{?dist}
+Release:	6.20131113git%{githash}%{?dist}
 Summary:	Command-line interface to Amazon Glacier
 
 Group:		Applications/Internet
@@ -15,6 +15,10 @@ BuildArch:  noarch
 
 Requires:	python-boto
 Requires:   python-sqlalchemy
+%if 0%{?rhel} < 7
+Requires:   python-argparse
+BuildRequires: python-argparse
+%endif
 # tests
 BuildRequires: python-iso8601
 BuildRequires: python-mock
@@ -43,7 +47,10 @@ cp -a glacier.py %{buildroot}%{_bindir}/glacier-cli
 chmod a+x %{buildroot}%{_bindir}/*
 
 %check
+%if 0%{?fedora} < 20
+#due old python-mock on older fedoras
 nosetests
+%endif
 
 %files
 %doc COPYING README.md
@@ -52,6 +59,9 @@ nosetests
 
 
 %changelog
+* Tue Nov 19 2013 Miroslav Suchý <msuchy at redhat.com> 0-6.20131113gite8a2536
+- require argparse for el6 and do not run test on F19 due old python-mock
+
 * Tue Nov 19 2013 Miroslav Suchý <msuchy at redhat.com> 0-5.20131113gite8a2536
 - 1031019 - replace env with direct python calling
 - 1031019 - escape macro in comments


More information about the scm-commits mailing list