- 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:
parent
a940b3070e
commit
eac3e6e8d4
@ -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
|
Sun Apr 21 08:09:05 UTC 2013 - toms@opensuse.org
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-tox
|
Name: python-tox
|
||||||
Version: 1.4.3
|
Version: 1.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -29,12 +30,12 @@ BuildRequires: python-py >= 1.4.9
|
|||||||
BuildRequires: python-pytest
|
BuildRequires: python-pytest
|
||||||
BuildRequires: python-virtualenv
|
BuildRequires: python-virtualenv
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-argparse
|
|
||||||
Requires: python-py
|
Requires: python-py
|
||||||
Requires: python-virtualenv
|
Requires: python-virtualenv
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%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()")}
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
Requires: python-argparse
|
||||||
%else
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user