From 074da2f7e017e725d5d3b05112d1098811e8abfa Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Mon, 17 Feb 2014 11:54:13 +0100 Subject: [PATCH] argparse is a requirement for python 2.6 Resolves: rhbz#1065824 --- python-tox.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/python-tox.spec b/python-tox.spec index 79f6651..c55f0e6 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -7,7 +7,7 @@ %global pypiname tox Name: python-tox Version: 1.4.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Virtualenv-based automation of test activities # file toxbootstrap.py is licensed under MIT License @@ -21,6 +21,10 @@ BuildRequires: python2-devel BuildRequires: python-setuptools Requires: python-py Requires: python-virtualenv +%if 0%{?rhel}==6 +Requires: python-argparse +%endif + # required for check %if 0%{?fedora} BuildRequires: python-py @@ -74,6 +78,9 @@ TOXENV=py27 %{__python} setup.py test %changelog +* Mon Feb 17 2014 Matthias Runge - 1.4.2-8 +- python 2.6 requires argparse (rhbz#1065824) + * Wed Nov 14 2012 Matthias Runge - 1.4.2-7 - add requires python-py, python-virtualenv (rhbz#876246)