SHA256
1
0
forked from pool/python-tox

- Only require argparse on SLE, it's part of Python-2.7

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=10
This commit is contained in:
Sascha Peilicke 2013-06-17 12:15:25 +00:00 committed by Git OBS Bridge
parent a940b3070e
commit eac3e6e8d4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jun 17 12:14:38 UTC 2013 - speilicke@suse.com
- Only require argparse on SLE, it's part of Python-2.7
-------------------------------------------------------------------
Sun Apr 21 08:09:05 UTC 2013 - toms@opensuse.org

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-tox
Version: 1.4.3
Release: 0
@ -29,12 +30,12 @@ BuildRequires: python-py >= 1.4.9
BuildRequires: python-pytest
BuildRequires: python-virtualenv
BuildRequires: unzip
Requires: python-argparse
Requires: python-py
Requires: python-virtualenv
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Requires: python-argparse
%else
BuildArch: noarch
%endif