argparse is a requirement for python 2.6
Resolves: rhbz#1065824
This commit is contained in:
parent
4dd102aac0
commit
074da2f7e0
1 changed files with 8 additions and 1 deletions
|
|
@ -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 <mrunge@redhat.com> - 1.4.2-8
|
||||
- python 2.6 requires argparse (rhbz#1065824)
|
||||
|
||||
* Wed Nov 14 2012 Matthias Runge <mrunge@redhat.com> - 1.4.2-7
|
||||
- add requires python-py, python-virtualenv (rhbz#876246)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue